YUM ( Yellowdog Updater, Modified ) is a command-line package management utility for RPM-based Linux systems, It has been released under the GNU General Public License. Yum is useful for RPMs which have dependencies, Yum searches for all dependencies of any RPM in all available repositories.

Advertisement

Below list contains top 5 yum repositories (RPMFusin, EPEL, REMI, ELRepo, Webtatic) for RHEL based systems with installation links, which we need to keep our system up to date with latest packages. These repositories having most of the RPMs required for servers.

#1. Adding RPMFusin Repository

The RPM Fusion repository provides the packages that are not shipped with the Fedora or Red Hat. You can add RPMFusion yum repository by executing following commands based on your system OS version.

### For CentOS/RHEL 7 ###
sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm 
sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm

### For CentOS/RHEL 6 ###
sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-6.noarch.rpm
sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-6.noarch.rpm

### For Fedora 28/27/26/25/24 ###
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

#2. Adding EPEL Repository

Extra Packages for Enterprise Linux (EPEL) is a group that maintains the latest packages to their repository. It also contains the extra packages required for Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL) or Oracle Linux (OL).

Use following commands to install EPEL yum repository on your CentOS/RHEL 7/6/5 systems.

### For CentOS/RHEL 7 ###
sudo yum localinstall --nogpgcheck http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm

### For CentOS/RHEL 6 ###
sudo yum localinstall --nogpgcheck  http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

#3. Adding REMI Repository

REMI is also a useful yum repository contains updated packages for Enterprise Linux systems. Use the following commands to install REMI yum repository on your CentOS/RHEL 7/6 and Fedora 28/27/26/25/24 systems.

### For CentOS/RHEL 7 ###
sudo yum localinstall --nogpgcheck http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

### For CentOS/RHEL 6 ###
sudo yum localinstall --nogpgcheck http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

### Fedora 28/27/26/25/24 ###
sudo dnf install http://rpms.famillecollet.com/fedora/remi-release-$(rpm -E %fedora).rpm

#4. Adding ELRepo Repository

ELRepo is an RPM repository for Enterprise Linux packages. It supports Red Hat Enterprise Linux (RHEL) and its derivatives like CentOS, Scientific Linux etc. This Project focuses on hardware related packages to enhance your experience with Enterprise Linux. This includes filesystem drivers, graphics drivers, network drivers, sound drivers, webcam and video drivers.


### For CentOS/RHEL 7 ###
sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
sudo rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm

### For CentOS/RHEL 6 ###
sudo rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
sudo rpm -Uvh  http://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm

#5. Adding Webtatic Repository

Webtatic is a yum repository generally deals with the web hosting related packages, which is not included with CentOS/RHEL repositories. Execute one of the following commands to install REMI yum repository on your CentOS/RHEL 7/6/5 systems.

### For CentOS/RHEL 7 ###
sudo yum localinstall --nogpgcheck http://repo.webtatic.com/yum/el7/webtatic-release.rpm

### For CentOS/RHEL 6 ###
sudo yum localinstall --nogpgcheck http://repo.webtatic.com/yum/el6/latest.rpm

### For CentOS/RHEL 5 ###
sudo yum localinstall --nogpgcheck http://repo.webtatic.com/yum/el5/latest.rpm

Thanks for reading this article. Read next article to setup your CentOS/RHEL system to keep packages up to date.

Share.

16 Comments

      • Here is content of working repo file:
        [CentALT]
        name=CentALT Packages for Enterprise Linux 6 – $basearch
        baseurl=http://mirror.neu.edu.cn/CentALT/6/$basearch/
        enabled=1
        gpgcheck=0

  1. News to the world of Linux. Just wondering if the Adding CentAlt Repository is the same as the Adding CentOS Repository.Sorry if my question sound stupid.

  2. Nice list, but it would have been good if you could also list the use of these repos. I have been using openSUSE since ages and frankly other Linux distros are alien to me. Trying CentOS 6.4 right now, but I am a little lost 🙂

Exit mobile version