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.
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.
16 Comments
is Webtatic Repository can be trusted for the server. Please let me know.
Useful Info
For RHEL 5 EPEL now you need
sudo rpm -Uvh http://archives.fedoraproject.org/pub/archive/epel/5/x86_64/epel-release-5-4.noarch.rpm
The link has changed
I know this post is old, but figured I’d update a couple links for anyone finding themselves here…
I’m running CentOS 7.2
2. Adding EPEL Repository
CentOS/RHEL 7
# rpm -Uvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-rpm-macros-7-8.noarch.rpm
4. Adding ATrpms Repository
CentOS/RHEL 7 x86 64bit:
# rpm -Uvh https://www.mirrorservice.org/sites/dl.atrpms.net/src/el7-x86_64/atrpms/stable/atrpms-repo-7-7.src.rpm
very informative. It would be nice to give few examples how to use these repositories that would help a lot newbies
http://li.nux.ro/repos.html
Alternatively: yum -y install epel-release
TNXXXXXXXXXXXXXXXX
Very Useful post for the YUM configuration
Hello, when will those repo become available for CentOS 7 ?
Thank you
Hi,
I found this mirror, replace it in your post :
rpm -Uvh http://mirror.neu.edu.cn/CentALT/6/x86_64/centalt-release-6-1.noarch.rpm
Thanks for the great content 😉
Cheers.
Hi Soufiane
That will create repository file in system. But actual repository is still down.
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
http://centos.alt.ru/repository/centos/6/x86_64/
This RPM seems like it will no longer be available. The link is broken and it seems like the maintainer wants donations to maintain the project.
You might want to remove this RPM.
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.
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 🙂