Yellowdog Updater, Modified

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

Yellowdog Updater, Modified
Yum.png
Yum-update.png
A screenshot from Yum running an update on Fedora 16.
Developer(s) Seth Vidal
Written in Python[1]
Operating system Linux
Type Package management system
License GPL v2
Website yum.baseurl.org

The Yellowdog Updater, Modified (yum) is an open-source command-line package-management utility for Linux operating systems using the RPM Package Manager.[2] Though yum has a command-line interface, several other tools provide graphical user interfaces to yum functionality.

Yum allows automatic updates, package and dependency management, on RPM-based distributions.[3] Like the Advanced Package Tool (APT) from Debian, yum works with software repositories (collections of packages), which can be accessed locally[4] or over a network connection.

Under the hood, yum depends on RPM, which is a packaging standard for digital distribution of software, which automatically uses hashes and digisigs to verify the authorship and integrity of said software; unlike some app stores, which serve a similar function, neither yum nor RPM provide built-in support for proprietary restrictions on copying of packages by endusers. Yum is implemented as libraries in the Python programming language, with a small set of programs that provide a command-line interface.[5] GUI-based wrappers such as Yum Extender (yumex) also exist.[6] A rewrite of yum based on libsolv named DNF is currently being developed and replaced yum as the default package manager in Fedora 22.[7]

History

As a full rewrite of its predecessor tool, Yellowdog Updater (YUP), yum evolved primarily in order to update and manage Red Hat Linux systems used at the Duke University Department of Physics. Seth Vidal and Michael Stenner did the original development of yum at Duke, while yup was originally developed and maintained by Dan Burcaw, Bryan Stillwell, Stephen Edie, and Troy Bengegerdes of Yellow Dog Linux.[2] In 2003 Robert G. Brown at Duke published documentation.[5] Subsequent adopters included Red Hat Enterprise Linux,[8] Fedora, CentOS, and many other RPM-based Linux distributions, including Yellow Dog Linux itself, where it replaced the original YUP utility, which had its last update on SourceForge in 2001.[9] By 2005, it was estimated to be available on over half of the Linux market,[1] and by 2007 yum was considered "the tool of choice"[10] for RPM-based Linux distributions.

The GNU General Public License of yum allows the free and open-source software to be freely distributed and modified without any royalty, if other terms of the license are followed.[2] Vidal continued to contribute to yum until he died in a Durham, North Carolina bicycle accident on 8 July 2013.[11][12][13]

Yum aimed to address both the perceived deficiencies in the old APT-RPM,[14] and restrictions of the Red Hat up2date package management tool. yum superseded up2date in Red Hat Enterprise Linux 5 and later.[15] Some authors refer to it as the Yellowdog Update Manager, or suggest that "Your Update Manager" would be more appropriate.[16][17] A basic knowledge of yum is often included as a requirement for Linux system-administrator certification.[3]

Operations

Lua error in package.lua at line 80: module 'strict' not found.

yum can perform operations such as:

  • installing packages
  • deleting packages
  • updating existing installed packages
  • listing available packages[18]
  • listing installed packages[18]

Metadata

Information about packages (as opposed to the packages themselves) is known as metadata. These metadata are combined with information in each package to determine (and resolve, if possible) dependencies among the packages. The hope is to avoid a situation known as dependency hell. A separate tool, createrepo, sets up yum software repositories, generating the necessary metadata in a standard XML format (and the SQLite metadata if given the -d option).[19][20] The mrepo tool (formerly known as Yam) can help in the creation and maintenance of repositories.[21]

Yum's XML repository, built with input from many other developers, quickly became the standard for RPM-based repositories.[20] Besides the distributions that use Yum directly, SUSE Linux 10.1[22] added support for Yum repositories in YaST, and the Open Build Service repositories use the yum XML repository format metadata.[20]

Yum automatically synchronizes the remote meta data to the local client, with other tools opting to synchronize only when requested by the user. Having automatic synchronization means that yum cannot fail due to the user failing to run a command at the correct interval.[23][24]

Extensions

Screenshot of Yum Extender (yumex)

The 2.x versions of yum feature an additional interface for programming extensions in Python that allows the behavior of yum to be altered. Certain plug-ins are installed by default.[25] A commonly installed[26] package yum-utils, contains commands which use the yum API, and many plugins.

Graphical user interfaces, known as "front-ends", allow easier use of yum. PackageKit and Yum Extender (yumex) are two examples.[6]

See also

  • .rpm - the packaging file format used by yum
  • DNF - a rewrite of yum based on libsolv

References

  1. 1.0 1.1 Lua error in package.lua at line 80: module 'strict' not found.
  2. 2.0 2.1 2.2 Lua error in package.lua at line 80: module 'strict' not found.
  3. 3.0 3.1 Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. 5.0 5.1 Lua error in package.lua at line 80: module 'strict' not found.
  6. 6.0 6.1 Lua error in package.lua at line 80: module 'strict' not found.
  7. http://fedoramagazine.org/5tftw-2014-06-10/
  8. Lua error in package.lua at line 80: module 'strict' not found.
  9. Lua error in package.lua at line 80: module 'strict' not found.
  10. Lua error in package.lua at line 80: module 'strict' not found.
  11. Lua error in package.lua at line 80: module 'strict' not found.
  12. Lua error in package.lua at line 80: module 'strict' not found.
  13. Lua error in package.lua at line 80: module 'strict' not found.
  14. Lua error in package.lua at line 80: module 'strict' not found.
  15. Lua error in package.lua at line 80: module 'strict' not found.
  16. Lua error in package.lua at line 80: module 'strict' not found.
  17. Lua error in package.lua at line 80: module 'strict' not found.
  18. 18.0 18.1 Lua error in package.lua at line 80: module 'strict' not found.
  19. Lua error in package.lua at line 80: module 'strict' not found.
  20. 20.0 20.1 20.2 Lua error in package.lua at line 80: module 'strict' not found.
  21. Lua error in package.lua at line 80: module 'strict' not found.
  22. Lua error in package.lua at line 80: module 'strict' not found.
  23. Lua error in package.lua at line 80: module 'strict' not found.
  24. Lua error in package.lua at line 80: module 'strict' not found.
  25. Lua error in package.lua at line 80: module 'strict' not found.
  26. Lua error in package.lua at line 80: module 'strict' not found.

External links