This post will guide you how to install or enable EPEL Repo on CentOS 7 or RHEL 7 Linux system. How do I Install EPEL Package to enable EPEL repository on your CentOS or RHEL Linux.
Install EPEL Repo on CentOS 7 or RHEL 7
If you want to install some special packages that are not officially supported by CentOS or RHEL ULN, and then you can try to enable the EPEL REPO to install some packages. such as: thunderbird tool.
Type one of the following commands to install EPEL package:
# yum install http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
or
# yum install epel-release -y
outputs:
[root@osetc~]# yum install epel-release Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirrors.xtom.com * extras: mirror.sjc02.svwh.net * updates: centos.sonn.com Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. The program yum-complete-transaction is found in the yum-utils package. --> Running transaction check ---> Package epel-release.noarch 0:6-8 will be installed --> Finished Dependency Resolution Dependencies Resolved ===================================================================================================================================================================== Package Arch Version Repository Size ===================================================================================================================================================================== Installing: epel-release noarch 6-8 extras 14 k Transaction Summary ===================================================================================================================================================================== Install 1 Package(s) Total download size: 14 k Installed size: 22 k Is this ok [y/N]: y Downloading Packages: epel-release-6-8.noarch.rpm | 14 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Warning: RPMDB altered outside of yum. ** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows: glibc-2.12-1.209.el6_9.2.x86_64 is a duplicate with glibc-2.12-1.209.el6_9.1.x86_64 glibc-common-2.12-1.209.el6_9.2.x86_64 is a duplicate with glibc-common-2.12-1.209.el6_9.1.x86_64 httpd-tools-2.2.15-60.el6.centos.6.x86_64 is a duplicate with httpd-tools-2.2.15-59.el6.centos.x86_64 Installing : epel-release-6-8.noarch 1/1 Verifying : epel-release-6-8.noarch 1/1 Installed: epel-release.noarch 0:6-8 Complete!
Check EPEL Repo
You can execute the yum repolist command to check if the epel repo is installed in your Linux system, type:
# yum repolist
outputs:
[root@osetc~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: repos-lax.psychz.net
* epel: mirrors.develooper.com
* extras: mirror.hostduplex.com
* updates: repos.lax.quadranet.com
repo id repo name status
!base/7/x86_64 CentOS-7 - Base 9,911
!epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12,741
!extras/7/x86_64 CentOS-7 - Extras 432
!updates/7/x86_64 CentOS-7 - Updates
Install Thunderbird Tool Using EPEL Repo
Firstly, you can use the yum search command to check if thunderbird package can be found in EPEL Repo, then you can use yum install command to install it.
# yum search thunderbird
Outputs:
[root@osetc~]# yum search thunderbird Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: repos-lax.psychz.net * epel: mirrors.develooper.com * extras: mirror.hostduplex.com * updates: repos.lax.quadranet.com =========================== N/S matched: thunderbird =========================== thunderbird.x86_64 : Mozilla Thunderbird mail/newsgroup client thunderbird-enigmail.noarch : Authentication and encryption extension for : Mozilla Thunderbird mozilla-adblockplus.noarch : Adblocking extension for Mozilla Firefox, : Thunderbird, and SeaMonkey Name and summary matches only, use "search all" for everything.
Then install it, type:
# yum install thunderbird