[FrontPage] [TitleIndex] [WordIndex

This is a read-only archived version of wiki.centos.org

Yum

Yellow dog Updater, Modified (Yum) is the default package manager used in CentOS ( all versions ). It is used to install and update packages from CentOS (and 3rd party) Repositories.


Managing Software with Yum is an online manual, available at http://www.centos.org/docs/4/html/yum/ - this should be applicable to all versions of CentOS, with a few changes.

CentOS 4 also contains the Yum Extender (a GUI front end for yum), documention on this is available at http://www.centos.org/docs/4/html/yumex/


0.1. Yum Plugins

Yum 2.4.x on CentOS 4 now has the capability of running plugins, some of which are hosted online within the CentOS Repositories.

Enabling yum plugins: In order to use any plugins with yum on CentOS 4, you must first edit the file /etc/yum.conf and add the following line:

plugins=1

Once plugins are enabled in yum.conf, you may install yum plugins and use them. CentOS 5 has this option enabled by default.

Some yum plugins are available as seperate rpm packages. Currently in CentOS-4 those are protectbase, priorities and fastestmirror. These plugins are highly recommended for CentOS-4 users who are using the default update method. (Use only priorities OR protectbase ... they can not be used together).


The CentOS-4 only: yum-utils also contains some yum plugins that are not enabled by default. Those plugins are located in the directory /usr/share/doc/yum-utils-0.5/plugins after the package yum-utils is installed.

Please review those plugins and if you would like to install them for use, copy the plugin_name.conf file to /etc/yum/pluginconf.d/ and the plugin_name.py file to /usr/lib/yum-plugins/ to enable that specific plugin.


External URL's that might come in handy:

( Note: keep in mind that the yum version used in CentOS might not always be the same as the version reported / used upstream )


2023-09-11 07:23