Sponsored Links
-->

Saturday, March 31, 2018

Install Packages in Linux using YUM Command - YouTube
src: i.ytimg.com

The Yellowdog Updater, Modified (YUM) is a libre and open-source command-line package-management utility for computers running the GNU/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 allows automatic updates, 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 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. GUI-based wrappers such as YUM Extender (yumex) also exist. A rewrite of YUM based on libsolv named DNF is currently being developed and replaced YUM as the default package manager in Fedora 22.


Video Yum (software)



History

The original package manager, Yellowdog UPdater (YUP) was developed in 1999-2001 by Dan Burcaw, Bryan Stillwell, Stephen Edie, and Troy Bengegerdes[2] 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 tragic 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, 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.


Maps Yum (software)



Operations

YUM can perform operations such as:

  • installing packages
  • deleting packages
  • updating existing installed packages
  • listing available packages
  • listing installed packages

RPM' packages on CentOS 7 with 'YUM' â€
src: knowledgeofthings.com


Extensions

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.


EXPLAINED: How to Install/Uninstall Program in Linux Using PACKAGE ...
src: i.ytimg.com


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). 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.


YUM: Repodata is over 2 weeks old. Install yum-cron? Or run: yum ...
src: coderinthebox.com


See also

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

Installing software using YUM â€
src: i.ytimg.com


References


RPM' packages on CentOS 7 with 'YUM' â€
src: knowledgeofthings.com


External links

  • 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

Source of the article : Wikipedia

Comments
0 Comments