fbpx
Wikipedia

This article is about the open source application. For other uses of "YUM", see Yum (disambiguation).

The Yellowdog Updater, Modified (YUM) is a free and open-source command-line package-management utility for computers running the Linux operating system using the RPM Package Manager. Though YUM has a command-line interface, several other tools provide graphical user interfaces to YUM functionality.

YUM
YUM running an update on Fedora 16
Developer(s)Seth Vidal
Initial releaseJune 2002; 20 years ago (2002-06)
Stable release
3.4.3 / 28 June 2011; 10 years ago (28 June 2011)
Repository
Written inPython
Operating systemLinux, AIX, IBM i, ArcaOS
TypePackage management system
LicenseGPLv2
Websiteyum.baseurl.org

YUM allows for automatic updates and package and dependency management on RPM-based distributions. Like the Advanced Package 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 digital signatures 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 end-users. 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, and has been adopted for Fedora Linux until version 22.

A rewrite of YUM named DNF replaced YUM as the default package manager in Fedora 22. This was required due to Fedora's transition from Python 2 to Python 3, which isn't supported by YUM. DNF also improves on YUM in several ways - improved performance, better resolution of dependency conflicts, and easier integration with other software applications.

Contents

The original package manager, Yellowdog UPdater (YUP) was developed in 1999-2001 by Dan Burcaw, Bryan Stillwell, Stephen Edie, and Troy Bengegerdes at Terra Soft Solutions (under the leadership of then CEO Kai Staats) as a back-end engine for a graphical installer of Yellow Dog Linux.

As a full rewrite of YUP, YUM evolved primarily to update and manage Red Hat Linux systems used at the Duke University Department of Physics by Seth Vidal and Michael Stenner. Vidal continued to contribute to YUM until his death in a Durham, North Carolina bicycle accident on 8 July 2013.

In 2003 Robert G. Brown at Duke published documentation for YUM. Subsequent adopters included Fedora, Rocky Linux, AlmaLinux, CentOS, and many other RPM-based Linux distributions, including Yellow Dog Linux itself, where YUM replaced the original YUP utility — last updated on SourceForge in 2001. By 2005, it was estimated to be in use on over half of the Linux market, and by 2007 YUM was considered the "tool of choice" for RPM-based Linux distributions.

YUM aimed to address both the perceived deficiencies in the old APT-RPM, and restrictions of the Red Hat up2date package management tool. YUM superseded up2date in Red Hat Enterprise Linux 5 and later. Some authors refer to YUM 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. 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 honored.

While yum was originally created for Linux, it has been ported to a number of other operating systems including AIX, IBM i, and ArcaOS.

This section needs expansion. You can help by adding to it.(August 2014)

YUM can perform operations such as:

  • installing packages
  • deleting packages
  • updating existing installed packages
  • listing available packages
  • listing installed packages
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. A commonly installed 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. Yum Extender was deprecated for a while when Fedora migrated to DNF, but it was rewritten in Python 3 and Gtk 3 and has been in progress for development. This brand-new Yum Extender is available for Fedora 34 or newer.

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.

  • .rpm - the packaging file format used by YUM
  • DNF - a rewrite of YUM based on libsolv
  • urmpi - another cli-frontend for rpm
  • APT-RPM - another rpm frontend, derived from APT, cli-frontend for dpkg.
  1. "Initial Commit". source control message. Seth Vidal. 7 June 2002. Retrieved17 September 2021.
  2. "Oldest Mailing List Message". yum mailing list archive. Grigory Bakunov. 11 June 2002. Retrieved17 September 2021.
  3. Jang, Michael H. (14 December 2005). "Chapter 7 – Setting Up a YUM Repository". Linux Patch Management: Keeping Linux Systems Up to Date(PDF). Prentice Hall Professional.
  4. Brown, Robert G. "YUM (Yellowdog Updater, Modified) HOWTO - Introduction". Duke Physics. Retrieved12 July 2013.
  5. Shields, Ian (11 May 2010). "RPM and YUM package management". Learn Linux, 101. IBM. Retrieved12 July 2013.
  6. "Creating a Local YUM Repository Using an ISO Image". Oracle. Retrieved12 July 2013.
  7. Brown, Robert G. (17 December 2003). "YUM: Yellowdog Updater, Modified"(PDF). Retrieved13 July 2013.
  8. "Yum Extender". Yumex Homepage. Retrieved13 July 2013.
  9. Miller, Matthew (11 June 2014). "Board Meeting, Rawhide Rebuilt, Firewall Debate, ARM 64, and DNF as Yum Replacement (5tFTW 2014-06-10)". Fedora Magazine. Retrieved4 May 2016.
  10. Wallen, Jack (2015-07-02). "What You Need to Know About Fedora's Switch From Yum to DNF". Linux.com. Retrieved2021-09-26.
  11. Edge, Jake (2014-01-15). "DNF and Yum in Fedora". LWN.net. Retrieved2018-10-16.
  12. "Seth Vidal, creator of "yum" open source software, killed in bike accident off Hillandale Rd". Durham io: The Daily Durham. 9 July 2013. Archived from the original on 12 July 2013. Retrieved13 July 2013.{{cite web}}: CS1 maint: unfit URL (link)
  13. "Thank you, Seth Vidal". Red Hat. 10 July 2013. Retrieved13 July 2013.
  14. Bort, Julie (9 July 2013). "36-Year-Old Open Source Guru Seth Vidal Has Been Tragically Killed". Business Insider. Retrieved13 July 2013.
  15. "Yellow Dog Update Program". SourceForge repository. Retrieved18 July 2013.
  16. Fusco, John (6 March 2007). The Linux Programmer's Toolbox. Pearson Education. ISBN 9780132703048.
  17. Murphy, David (23 July 2004). "How to run your own yum repository". Linux Foundation. Retrieved12 July 2013.
  18. "What are the yum equivalents of up2date and rpm common tasks on Red Hat Enterprise Linux?". Red Hat.
  19. Sweeney, Michael (2005). Network Security Using Linux. p. 84. ISBN 9781411621770.
  20. Negus, Christopher; Bresnahan, Christine (2012). Linux Bible. John Wiley & Sons. p. 598. ISBN 9781118286906.
  21. "Configuring YUM and creating local repositories on IBM AIX". 2018-10-24.
  22. "RPM and Yum are a big deal for IBM i. Here's why". 2018-07-18.
  23. "Package Manager". Retrieved2020-09-04.
  24. Jang, Michael H. (2006). Linux Patch Management: Keeping Linux Systems Up to Date. Bruce Perens' Open Source series. Prentice Hall Professional. p. 199. ISBN 9780132366755. Retrieved26 August 2014.
  25. "Yum Plug-ins". Red Hat. Retrieved12 July 2013.
  26. "Maintaining yum". CentOS. Retrieved12 July 2013.
  27. "dnf replacing yum and dnf-yum - devel - Fedora Mailing-Lists". lists.fedoraproject.org. Retrieved2021-09-27.
  28. Lauridsen, Tim (2021-09-20), Yum Extender (yumex-dnf), retrieved2021-09-26
  29. "createrepo(8)". Linux manual page. Retrieved12 July 2013.
  30. "Standards Rpm Metadata". openSUSE. Retrieved12 July 2013.
  31. "mrepo". Freecode. Retrieved12 July 2013.
  32. "SUSE Linux 10.1 Alpha 2 is ready". Archived from the original on February 8, 2006. Retrieved12 July 2013.
  33. Schmitz, Dietrich T. "YUM vs. APT: Which is Best?".
  34. "'Linux Advocates' Throws in the Towel i.e. previous link is dead". FOSS Force.
Wikimedia Commons has media related toYum.

yum software Article Talk Language Watch Edit 160 160 Redirected from Yellowdog Updater Modified This article is about the open source application For other uses of YUM see Yum disambiguation The Yellowdog Updater Modified YUM is a free and open source command line package management utility for computers running the Linux operating system using the RPM Package Manager 4 Though YUM has a command line interface several other tools provide graphical user interfaces to YUM functionality YUMYUM running an update on Fedora 16Developer s Seth VidalInitial releaseJune 2002 20 years ago 2002 06 1 2 Stable release3 4 3 28 June 2011 10 years ago 28 June 2011 Repositoryyum wbr baseurl wbr org wbr gitweb wbr Written inPython 3 Operating systemLinux AIX IBM i ArcaOSTypePackage management systemLicenseGPLv2Websiteyum wbr baseurl wbr org YUM allows for automatic updates and package and dependency management on RPM based distributions 5 Like the Advanced Package Tool APT from Debian YUM works with software repositories collections of packages which can be accessed locally 6 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 digital signatures 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 end users YUM is implemented as libraries in the Python programming language with a small set of programs that provide a command line interface 7 GUI based wrappers such as YUM Extender yumex also exist 8 and has been adopted for Fedora Linux until version 22 9 A rewrite of YUM named DNF replaced YUM as the default package manager in Fedora 22 9 This was required due to Fedora s transition from Python 2 to Python 3 which isn t supported by YUM 10 DNF also improves on YUM in several ways improved performance better resolution of dependency conflicts and easier integration with other software applications 11 Contents 1 History 2 Operations 3 Extensions 4 Metadata 5 See also 6 References 7 External linksHistory EditThe original package manager Yellowdog UPdater YUP was developed in 1999 2001 by Dan Burcaw Bryan Stillwell Stephen Edie and Troy Bengegerdes at Terra Soft Solutions under the leadership of then CEO Kai Staats as a back end engine for a graphical installer of Yellow Dog Linux 4 As a full rewrite of YUP YUM evolved primarily to update and manage Red Hat Linux systems used at the Duke University Department of Physics by Seth Vidal and Michael Stenner Vidal continued to contribute to YUM until his death in a Durham North Carolina bicycle accident on 8 July 2013 12 13 14 In 2003 Robert G Brown at Duke published documentation for YUM 7 Subsequent adopters included 7 Fedora Rocky Linux AlmaLinux CentOS and many other RPM based Linux distributions including Yellow Dog Linux itself where YUM replaced the original YUP utility last updated on SourceForge in 2001 15 By 2005 it was estimated to be in use on over half of the Linux market 3 and by 2007 YUM was considered the tool of choice for RPM based Linux distributions 16 YUM aimed to address both the perceived deficiencies in the old APT RPM 17 and restrictions of the Red Hat up2date package management tool YUM superseded up2date in Red Hat Enterprise Linux 5 and later 18 Some authors refer to YUM as the Yellowdog Update Manager or suggest that Your Update Manager would be more appropriate 19 20 A basic knowledge of YUM is often included as a requirement for Linux system administrator certification 5 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 honored 4 While yum was originally created for Linux it has been ported to a number of other operating systems including AIX 21 IBM i 22 and ArcaOS 23 Operations EditThis section needs expansion You can help by adding to it August 2014 YUM can perform operations such as installing packages deleting packages updating existing installed packages listing available packages 24 listing installed packages 24 Extensions Edit 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 8 Yum Extender was deprecated for a while when Fedora migrated to DNF 27 but it was rewritten in Python 3 and Gtk 3 and has been in progress for development This brand new Yum Extender is available for Fedora 34 or newer 28 Metadata EditInformation 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 29 30 The mrepo tool formerly known as Yam can help in the creation and maintenance of repositories 31 YUM s XML repository built with input from many other developers quickly became the standard for RPM based repositories 30 Besides the distributions that use YUM directly SUSE Linux 10 1 32 added support for YUM repositories in YaST and the Open Build Service repositories use the YUM XML repository format metadata 30 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 33 34 See also Edit Free and open source software portal rpm the packaging file format used by YUM DNF a rewrite of YUM based on libsolv urmpi another cli frontend for rpm APT RPM another rpm frontend derived from APT cli frontend for dpkg References Edit Initial Commit source control message Seth Vidal 7 June 2002 Retrieved 17 September 2021 Oldest Mailing List Message yum mailing list archive Grigory Bakunov 11 June 2002 Retrieved 17 September 2021 a b Jang Michael H 14 December 2005 Chapter 7 Setting Up a YUM Repository Linux Patch Management Keeping Linux Systems Up to Date PDF Prentice Hall Professional a b c Brown Robert G YUM Yellowdog Updater Modified HOWTO Introduction Duke Physics Retrieved 12 July 2013 a b 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 a b c Brown Robert G 17 December 2003 YUM Yellowdog Updater Modified PDF Retrieved 13 July 2013 a b Yum Extender Yumex Homepage Retrieved 13 July 2013 a b Miller Matthew 11 June 2014 Board Meeting Rawhide Rebuilt Firewall Debate ARM 64 and DNF as Yum Replacement 5tFTW 2014 06 10 Fedora Magazine Retrieved 4 May 2016 Wallen Jack 2015 07 02 What You Need to Know About Fedora s Switch From Yum to DNF Linux com Retrieved 2021 09 26 Edge Jake 2014 01 15 DNF and Yum in Fedora LWN net Retrieved 2018 10 16 Seth Vidal creator of yum open source software killed in bike accident off Hillandale Rd Durham io The Daily Durham 9 July 2013 Archived from the original on 12 July 2013 Retrieved 13 July 2013 a href wiki Template Cite web title Template Cite web cite web a CS1 maint unfit URL link Thank you Seth Vidal Red Hat 10 July 2013 Retrieved 13 July 2013 Bort Julie 9 July 2013 36 Year Old Open Source Guru Seth Vidal Has Been Tragically Killed Business Insider Retrieved 13 July 2013 Yellow Dog Update Program SourceForge repository Retrieved 18 July 2013 Fusco John 6 March 2007 The Linux Programmer s Toolbox Pearson Education ISBN 9780132703048 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 Red Hat Sweeney Michael 2005 Network Security Using Linux p 84 ISBN 9781411621770 Negus Christopher Bresnahan Christine 2012 Linux Bible John Wiley amp Sons p 598 ISBN 9781118286906 Configuring YUM and creating local repositories on IBM AIX 2018 10 24 RPM and Yum are a big deal for IBM i Here s why 2018 07 18 Package Manager Retrieved 2020 09 04 a b Jang Michael H 2006 Linux Patch Management Keeping Linux Systems Up to Date Bruce Perens Open Source series Prentice Hall Professional p 199 ISBN 9780132366755 Retrieved 26 August 2014 Yum Plug ins Red Hat Retrieved 12 July 2013 Maintaining yum CentOS Retrieved 12 July 2013 dnf replacing yum and dnf yum devel Fedora Mailing Lists lists fedoraproject org Retrieved 2021 09 27 Lauridsen Tim 2021 09 20 Yum Extender yumex dnf retrieved 2021 09 26 createrepo 8 Linux manual page Retrieved 12 July 2013 a b c Standards Rpm Metadata openSUSE Retrieved 12 July 2013 mrepo Freecode Retrieved 12 July 2013 SUSE Linux 10 1 Alpha 2 is ready Archived from the original on February 8 2006 Retrieved 12 July 2013 Schmitz Dietrich T YUM vs APT Which is Best Linux Advocates Throws in the Towel i e previous link is dead FOSS Force External links EditWikimedia Commons has media related to Yum 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 Retrieved from https en wikipedia org w index php title Yum software amp oldid 1093148402, wikipedia, wiki, book,

books

, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.