Tuesday, 8 October 2019

How to Enable EL repository in CentOS 7



The EL repository is an additional RPM repository for Enterprise Linux. ELRepo supports Red Hat Enterprise Linux and its derivatives Scientific Linux, CentOS and its other distributions that provides hardware related file system drivers, graphics drivers, network drivers, sound drivers, webcam and video driver’s related packages.
This article describes How to Enable EL repository in CentOS 7.

Step 1. Package installation: Run the following yum command to install elrepo-release package:

[root@linuxcnf ~]# yum install https://www.elrepo.org/elrepo-release-7.0-4.el7.elrepo.noarch.rpm
Loaded plugins: fastestmirror
elrepo-release-7.0-4.el7.elrepo.noarch.rpm
……………
Installed:
  elrepo-release.noarch 0:7.0-4.el7.elrepo

Complete!
[root@linuxcnf ~]#

Step 2. Verification: Run the following command to verify the installation of EL repository:

[root@linuxcnf ~]# yum repolist
Loaded plugins: fastestmirror
………………
repo id                                                       repo name                                                                                           status
base/7/x86_64                                                 CentOS-7 - Base                                                                                     10,097
elrepo                                                        ELRepo.org Community Enterprise Linux Repository - el7                                                 138
extras/7/x86_64                                               CentOS-7 - Extras                                                                                      304
updates/7/x86_64                                              CentOS-7 - Updates                                                                                     332
repolist: 10,871
[root@linuxcnf ~]#

Done!!! Now the EL repository is configured in CentOS 7.

No comments:

Post a comment