Jump to content

urpmi

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by ManvanStaal (talk | contribs) at 09:09, 20 May 2021 (Clean up link to RPM page.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

urpmi
Original author(s)Pascal Rigaux
Developer(s)Thierry Vignaud
Stable release
8.124 / November 24, 2020; 3 years ago (2020-11-24)
Written inPerl
Operating systemLinux
TypePackage management system
Websitemetacpan.org/release/urpmi

urpmi is a package management tool for installing, removing, updating and querying software packages of local or remote (networked) media. It wraps around the RPM Package Manager in the role of a smart package manager. It uses repositories and will resolve dependencies so that the user will not suffer from dependency hell that can happen when using RPM directly. It works with official sources from Mandriva or unofficial sources such as those from the Penguin Liberation Front. It has a graphical front-end: Rpmdrake.

It's made of 2 parts:

In addition to the now-defunct Mandriva Linux, it is also being used by:

  • Uruk GNU/Linux, a 100% free software system origin in Iraq, based on this package manager virtually for Uruk package manager simulator, and Linux-libre kernels and apt real package manager from Trisquel, also named after a city in Iraq
  • Mageia, a French fork of Mandriva Linux that for a time was the base for future Mandriva products[1] but is now an independent community driven Linux distribution.
  • ROSA Linux and openMandriva (the Russian forks of Mandriva Linux that is the base for future OpenMandriva products[2]).

History

urpmi was developed as an experiment by Pascal Rigaux (Pixel) to address RPM install limitations; it was further maintained by François Pons and different Mandriva employees. It is currently (2010-2021) maintained by Thierry Vignaud who was the maintainer of rpmdrake[3] and one of the co-maintainers of the drakx installer and tools at Mandriva before he continued doing that job at Mageia.

Per Øyvind Karlsen maintains a fork of urpmi at Rosa Linux, backporting fixes and improvements from Thierry Vignaud work,[4][5] but this is not the version that was used by Mandriva Business Server (which was based on Mageia).

Commands

Generic commands

Install package urpmi <package_name>
Uninstall package with link (dependencies) urpme <package_name>
Query the package database urpmq <package_name>
Find package that contains a file urpmf <file>
Find package knowing only a part of an rpm name urpmq --fuzzy <part-of-package_name>
Update your package list urpmi.update -a
Update your system (using all repositories) urpmi --auto-select
Update your system (only using update repositories) urpmi --update --auto-select

Useful commands

Find package containing <word> in their name urpmq -y <word>
Find package without link (dependencies) urpmi_rpm-find-leaves

See also

References

  1. ^ http://blog.mandriva.com/en/2012/12/10/mbs-peek/
  2. ^ distrowatch.com: OpenMandriva
  3. ^ "Archived copy". Archived from the original on 2015-05-23. Retrieved 2015-05-23.{{cite web}}: CS1 maint: archived copy as title (link)
  4. ^ http://svnweb.mageia.org/soft?view=revision&revision=7297
  5. ^ https://abf.rosalinux.ru/proyvind/urpmi/commit/11e4718ce2a1bf814bcb1a68d2490e2ff3a8ca34.patch