Jump to content

Urpmi: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
corrected command examples
 
(48 intermediate revisions by 24 users not shown)
Line 1: Line 1:
{{Short description|Linux package management tool}}
{{lowercase|title=urpmi}}
{{lowercase title|title=urpmi}}
{{Infobox software
{{Infobox software
| name = urpmi
| name = urpmi
Line 11: Line 12:
| released = <!-- {{Start date|YYYY|MM|DD}} -->
| released = <!-- {{Start date|YYYY|MM|DD}} -->
| discontinued =
| discontinued =
| latest release version =
| latest release version = 8.133.1
| latest release date = <!-- {{Start date and age|YYYY|MM|DD}} -->
| latest release date = {{Start date and age|2024|6|2}}
| latest preview version =
| latest preview version =
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD}} -->
| latest preview date = <!-- {{Start date and age|YYYY|MM|DD}} -->
Line 27: Line 28:
}}
}}


'''urpmi''' is a [[Mageia]]/[[Mandriva Linux]] [[package management]] tool for installing, removing, updating and querying software packages of local or remote (networked) media. It wraps around the package manager [[RPM Package Manager|rpm]] with the aim that the user should not have to suffer the often-encountered{{Citation needed|date=September 2010}} [[dependency hell]]. 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]].
'''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 being used by Mandriva Linux, It is also used by:
* a low level [https://metacpan.org/release/URPM C/perl bindings]
* [[Mageia|Mageia Linux]] (a fork of Mandriva Linux that is the base for future Mandriva products<ref>http://blog.mandriva.com/en/2012/12/10/mbs-peek/</ref>)
* a higher level [https://metacpan.org/release/urpmi perl code] implementing the advanced algorithms
* [[ROSA Linux]] (a fork of Mandriva Linux that is the base for future OpenMandriva products<ref>[http://distrowatch.com/table.php?distribution=openmandriva distrowatch.com: OpenMandriva]</ref>).

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 (Debian)|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 but is now an independent community driven Linux distribution.
*[[ROSA Linux]], a Russian fork of Mandriva Linux that is the base for future OpenMandriva products.<ref>[http://distrowatch.com/table.php?distribution=openmandriva distrowatch.com: OpenMandriva]</ref>


==History==
==History==
'''urpmi''' was developed as an experimentation by [[Pascal Rigaux]] (Pixel) to address [[RPM Package Manager|RPM]] install limitation, it was further maintained by [[François Pons]] and different [[Mandriva]] employees. It is currently (2010-2013) maintained by Thierry Vignaud which was the maintainer of rpmdrake (see [http://svn.mandriva.com/viewvc/soft/rpmdrake/trunk/NEWS?revision=273200&view=markup]) and of one of the co maintainer of the drakx installer and tools at Mandriva before continuing doing that job at Mageia.
'''urpmi''' was developed as an experiment by [[Pascal Rigaux]] (Pixel) to address [[RPM Package Manager|RPM]] install limitations; it was further maintained by [[François Pons]] and different [[Mandriva]] employees. It is currently (2010–2024) maintained by Thierry Vignaud who was the maintainer of rpmdrake<ref>{{Cite web |url=http://svn.mandriva.com/viewvc/soft/rpmdrake/trunk/NEWS?revision=273200&view=markup |title=&#91;soft&#93; Contents of /Rpmdrake/Trunk/NEWS |access-date=2015-05-23 |archive-url=https://web.archive.org/web/20150523165549/http://svn.mandriva.com/viewvc/soft/rpmdrake/trunk/NEWS?revision=273200&view=markup |archive-date=2015-05-23 |url-status=dead }}</ref> and one of the co-maintainers of the drakx installer and tools at Mandriva before he continued doing that job at Mageia.
This is the version that will be used by Mandriva in its future products which will be based on Mageia (See [http://blog.mandriva.com/en/2012/12/10/mbs-peek/]).


[[Per Øyvind Karlsen]] maintains a fork of urpmi at [[Rosa Linux]], backporting fixes & improvements from Thierry Vignaud work (e.g.: [http://svnweb.mageia.org/soft?view=revision&revision=7297] -> [https://abf.rosalinux.ru/proyvind/urpmi/commit/11e4718ce2a1bf814bcb1a68d2490e2ff3a8ca34.patch]), but this is not the version used by Mandriva Business Server which is based on Mageia.
Per Øyvind Karlsen maintained a fork of urpmi at [[Rosa Linux]], backporting fixes and improvements from Thierry Vignaud work,<ref>{{Cite web|url=http://svnweb.mageia.org/soft?view=revision&revision=7297|title=&#91;soft&#93; Revision 7297}}</ref><ref>{{cite web| url=https://abf.rosalinux.ru/proyvind/urpmi/commit/11e4718ce2a1bf814bcb1a68d2490e2ff3a8ca34.patch |title=[PATCH] add basic support for --downgrade (mga#6655) | access-date=2024-01-22}}</ref> but this is not the version that was used by Mandriva Business Server (which was based on Mageia). This fork died around 2013 (date of last commit).


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


Line 73: Line 78:
|-----
|-----
| Find package containing <word> in their name
| Find package containing <word> in their name
| urpmi -y <word>
| <code>urpmq -y <word></code>
|-----
|-----
| Find package without link (dependencies)
| Find package without link (dependencies)
| urpmi_rpm-find-leaves
| <code>urpmi_rpm-find-leaves</code>
|}
|}


Line 87: Line 92:


==External links==
==External links==
* {{Official website|http://wiki.mandriva.com/en/Urpmi}}
* {{Official website|https://wiki.mageia.org/en/URPMI}}
* [https://metacpan.org/release/URPM CPAN page for the low level C/perl bindings]
* [http://easyurpmi.zarb.org/ Mirror selection (easy urpmi)]
* [https://metacpan.org/release/urpmi CPAN page for the high level perl code]
* [http://www.cs.utexas.edu/users/walter/geek/rpm-howto.html URPMI and RPM Tutorial]


{{Linux package management systems}}
{{Linux package management systems}}
Line 96: Line 101:
[[Category:Linux package management-related software]]
[[Category:Linux package management-related software]]
[[Category:Mandriva Linux]]
[[Category:Mandriva Linux]]
[[Category:Free software programmed in Perl]]



{{Install-software-stub}}
{{Install-software-stub}}

Latest revision as of 16:09, 19 December 2024

urpmi
Original author(s)Pascal Rigaux
Developer(s)Thierry Vignaud
Stable release
8.133.1 / June 2, 2024; 6 months ago (2024-06-02)
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 but is now an independent community driven Linux distribution.
  • ROSA Linux, a Russian fork of Mandriva Linux that is the base for future OpenMandriva products.[1]

History

[edit]

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–2024) maintained by Thierry Vignaud who was the maintainer of rpmdrake[2] 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 maintained a fork of urpmi at Rosa Linux, backporting fixes and improvements from Thierry Vignaud work,[3][4] but this is not the version that was used by Mandriva Business Server (which was based on Mageia). This fork died around 2013 (date of last commit).

Commands

[edit]

Generic commands

[edit]
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

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

See also

[edit]

References

[edit]
  1. ^ distrowatch.com: OpenMandriva
  2. ^ "[soft] Contents of /Rpmdrake/Trunk/NEWS". Archived from the original on 2015-05-23. Retrieved 2015-05-23.
  3. ^ "[soft] Revision 7297".
  4. ^ "[PATCH] add basic support for --downgrade (mga#6655)". Retrieved 2024-01-22.
[edit]