Yellowdog Updater, Modified
||This article may require copy editing for see also section - per MOS - no redlinks, only one blue, remove ones linked in body. (November 2013)|
|Type||Package management system|
The Yellowdog Updater, Modified (yum) is an open-source command-line package-management utility for Linux operating systems using the RPM Package Manager. 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. Like the Advanced Packaging Tool (APT) from Debian, yum works with software repositories (collections of packages), which can be accessed locally 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, 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. GUI-based wrappers such as Yum Extender (yumex) also exist.
As a full rewrite[vague] 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. It was originally[when?] developed by Seth Vidal and Michael Stenner at Duke. It was then[when?] maintained by Dan Burcaw, Bryan Stillwell, Stephen Edie, and Troy Bengegerdes of Yellow Dog Linux. Documentation was published by Robert G. Brown at Duke in 2003. Since then, it was adopted[when?] by Red Hat Enterprise Linux, Fedora[when?], CentOS[when?], and many other RPM-based Linux distributions, including[when?] Yellow Dog Linux itself, where it replaced[when?] the original YUP utility, which had its last update on SourceForge in 2001. By 2005, it was estimated to be available on over half of the Linux market[vague], and by 2007 yum was considered "the tool of choice" 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. Vidal continued to contribute to yum until he was killed in a Durham, North Carolina bicycle accident on 8 July 2013.
Yum was created to address both the perceived deficiencies in the old APT-RPM, and restrictions[vague] of the Red Hat up2date package management tool. Up2date was replaced by Yum in Red Hat Enterprise Linux 5 and later. Some authors refer to it as the Yellowdog Update Manager, or suggest that "Your Update Manager" would be more appropriate. A basic knowledge of yum is often included as a requirement for Linux system administrator certification.
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). The
mrepo tool (formerly known as Yam) can help in the creation and maintenance of repositories.
Yum's XML repository, built with input from many other developers, quickly became the standard for RPM-based repositories. Besides the distributions that use Yum directly, SUSE Linux 10.1 added support for Yum repositories in YaST, and the Open Build Service repositories use the yum XML repository format metadata.
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.
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. A commonly installed package
yum-utils, contains commands which use the yum API, and many plugins.
- upgrade (computing), which is what yum does for individual apps/ libs/ utils, up to and including the entire OS
- security patch, one of the specific types of upgrades which package managers like yum provide
- dependency hell, one of the key problems package managers like yum attempt to solve
- .rpm, the particular packaging-fileformat used by yum
- .deb, a competing packaging-fileformat used on Debian and Ubuntu distros
- .apk, a competing packaging-fileformat used on Android-based distros
- .tgz, a traditional packaging-fileformat used in various forms on OpenBSD, Slackware, Gentoo,
- Synaptic, for .deb
- apt-get, for .deb
- Pacman (package manager), used on Arch and Manjuro Linux distros
- Windows Update, by Microsoft for windows since XP
- Mac App Store, by Apple Corporation for iOS and OSX and iTunes
- Google Play, by Google for Android derivatives
- Windows Store, by Microsoft for versions of Windows since Windows 8
- OpenBSD pkg-add, for OpenBSD
- Michael H. Jang (14 December 2005). "Setting Up a yum Repository - Chapter 7". Linux Patch Management: Keeping Linux Systems Up to Date. Prentice Hall Professional.
- Brown, Robert G. "Yum (Yellowdog Updater, Modified) HOWTO - Introduction". Duke Physics. Retrieved 12 July 2013.
- Shields, Ian (11 May 2010). "RPM and YUM package management". Learn Linux, 101 /. IBM. Retrieved 12 July 2013.
- "Creating a Local Yum Repository Using an ISO Image". Oracle. Retrieved 12 July 2013.
- Robert G. Brown (17 December 2003). "YUM: Yellowdog Updater, Modied". Retrieved 13 July 2013.
- "Yum Extender". Web site. Retrieved 13 July 2013.
- "Red Hat Enterprise Linux 6 Deployment Guide. Chapter 6: Yum". Red Hat. Retrieved 11 July 2013.
- "Yellow Dog Update Program". SourceForge repository. Retrieved 18 July 2013.
- John Fusco. The Linux Programmer's Toolbox. Pearson Education. ISBN 9780132703048.
- "Seth Vidal, creator of "yum" open source software, killed in bike accident off Hillandale Rd.". Durham io: The Daily Durham. 9 July 2013. Retrieved 13 July 2013.
- "Thank you, Seth Vidal". Red Hat. 10 July 2013. Retrieved 13 July 2013.
- Julie Bort (9 July 2013). "36-Year-Old Open Source Guru Seth Vidal Has Been Tragically Killed". Business Insider. Retrieved 13 July 2013.
- Murphy, David (23 July 2004). "How to run your own yum repository". Linux Foundation. Retrieved 12 July 2013.
- "What are the yum equivalents of up2date and rpm common tasks on Red Hat Enterprise Linux?". RedHat.
- Michael Sweeney (2005). Network Security Using Linux. p. 84. ISBN 9781411621770.
- Christopher Negus, Christine Bresnahan (2012). Linux Bible. John Wiley & Sons. p. 598. ISBN 9781118286906.
- "createrepo(8)". Linux manual page. Retrieved 12 July 2013.
- "Standards Rpm Metadata". openSUSE. Retrieved 12 July 2013.
- "mrepo". Freecode. Retrieved 12 July 2013.
- "SUSE Linux 10.1 Alpha 2 is ready". Retrieved 12 July 2013.
- Schmitz, Dietrich T. "YUM vs. APT: Which is Best?".
- "Yum Plug-ins". RedHat. Retrieved 12 July 2013.
- "Maintaining yum". CentOS. Retrieved 12 July 2013.
|Wikimedia Commons has media related to Yum Extender.|
- Official website
- Managing packages with yum – Describes how to use yum to manage packages
- Yum documentation in Fedora
- Yum documentation in CentOS
- Yum documentation in Scientific Linux