Yum (yellow updater modified) is an open source, widely used command line and graphics based package management tool. It is used to manage RPM based Linux systems, including but not limited to RedHat Linux, CentOS, and Oracle Linux. It is used to install, update, remove, and search packages on the system.
The installation package is not limited to the default base and updates libraries, but also includes additional CentOS libraries (Extras, Centosplus, CentOS FastTrack, Continuous Release, and Software Collections). You need to install and enable other third-party libraries on your system.
This article introduces the eight most popular YUM libraries, which are frequently recommended in the CentOS community.
1. EPEL
EPEL (Extra Packages for Enterprise Linux) must have been used by most people. It is a free, open-source, popular, community-based library project. Its goal is to provide a high-quality software package developed, tested and perfected under Fedora. And it can be used in RHEL, CentOS, Scientific Linux and other Linux systems. The libraries listed in the following article depend on EPEL
If you want to use the EPEL library on your system, use the following command:
# yum install epel-release
Note that on RHEL 7, you need to enable the optional and extras libraries. Because EPEL packages may depend on these libraries.
# subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"
2. REMI
REMI is a popular third-party library that provides the latest version of PHP stack, and it also provides other related software of PHP stack. Users include Fedora and other Enterprise Linux distributions, such as RHEL, CentOS, Oracle and Scientific Linux.
Before installing the Remi library, you need to install the EPEL library as follows:
---------------- CentOS/RHEL 7 ---------------- # yum install epel-release # wget https://rpms.remirepo.net/enterprise/remi-release-7.rpm # rpm -Uvh remi-release-7.rpm # subscription-manager repos --enable=rhel-7-server-optional-rpms [On RHEL only] ---------------- CentOS/RHEL 6 ---------------- # yum install epel-release # wget https://rpms.remirepo.net/enterprise/remi-release-6.rpm # rpm -Uvh remi-release-6.rpm # rhn-channel --add --channel=rhel-$(uname -i)-server-optional-6 [On RHEL only]
3. RPMFusion Library
RPMFusion is a third party library that provides free and non free software for Fedora and enterprise Linux distributions.
The software library also relies on EPEL, so you need to install EPEL in advance before installation:
---------------- CentOS/RHEL 7 ---------------- # yum install epel-release # yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm # yum localinstall --nogpgcheck https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm ---------------- CentOS/RHEL 6 ---------------- # yum install epel-release # yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm # yum localinstall --nogpgcheck https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-6.noarch.rpm
4. ELRepo Library
ELRepo (Community Enterprise Linux Repository) is an RPM library that provides hardware related software packages such as file system driver, video card driver, network driver, sound card driver, etc.
You can install the library with the following command:
---------------- CentOS/RHEL 7 ---------------- # rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org # rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm ---------------- CentOS/RHEL 6 ---------------- # rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org # rpm -Uvh https://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm
5. Nux dextop Library
Nux dextop is an RPM library that provides desktop and multimedia packages for Enterprise Linux. It includes a large number of graphics software and command-line software, including remina remote desktop, VLC media player, etc.
The installation steps are as follows:
---------------- CentOS/RHEL 7 ---------------- # yum -y install epel-release # rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm ---------------- CentOS/RHEL 6 ---------------- # yum -y install epel-release # rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
6. Ghetto forge Library
Ghetto forge focuses on packages that are not available in base and other third-party libraries for Enterprise Linux releases 6 and 7.
The software library can be enabled by the following command:
---------------- CentOS/RHEL 7 ---------------- # rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm ---------------- CentOS/RHEL 6 ---------------- # rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el6.noarch.rpm
7. Psychic Ninja Library
The goal of psychological Ninja is to provide high-quality packages for Enterprise Linux releases 6 and 7 that are not available in base and other third-party libraries.
If you need to use the psychological Ninja library, you need to import the GPG first, and then install the Library:
# rpm --import http://wiki.psychotic.ninja/RPM-GPG-KEY-psychotic # rpm -ivh http://packages.psychotic.ninja/6/base/i386/RPMS/psychotic-release-1.0.0-1.el6.psychotic.noarch.rpm
8. IUS Community Library
Finally, we introduce IUS (Inline with Upstream Stable), which is a new third-party, community supported library. It provides the latest high-quality RPM packages for PHP, Python and MySQL.
Similar to other libraries we know, IUS also relies on EPEL:
---------------- CentOS/RHEL 7 ---------------- # yum -y install epel-release # rpm -Uvh https://centos7.iuscommunity.org/ius-release.rpm ---------------- CentOS/RHEL 6 ---------------- # yum -y install epel-release # rpm -Uvh https://centos6.iuscommunity.org/ius-release.rpm