How to Install EPEL Repository on CentOS 6.5 or Redhat 6.5 RHEL

How to Install EPEL Repository on CentOS 6.5 or Redhat 6.5 RHEL

centos

Step 1: Download RPM GPG key for epel 6

[root@ITHelpBlog /]# wget http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6
–2014-02-03 10:13:40– http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6
Resolving ftp.riken.jp… 134.160.38.1
Connecting to ftp.riken.jp|134.160.38.1|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 1649 (1.6K) [text/plain]
Saving to: âRPM-GPG-KEY-EPEL-6â100%[===========================================================================================================================================================>] 1,649 –.-K/s in 0s2014-02-03 10:13:40 (262 MB/s) – âRPM-GPG-KEY-EPEL-6â[root@ITHelpBlog /]#

Step 2:  Download epel Repo

NOTE: Go to http://dl.fedoraproject.org/pub/epel/6/i386/ to download newest version for epel-release package, if you can not use these commands

[root@ITHelpBlog /]# wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
–2014-02-03 10:14:41– http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
Resolving dl.fedoraproject.org… 209.132.181.23, 209.132.181.24, 209.132.181.25, …
Connecting to dl.fedoraproject.org|209.132.181.23|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 14540 (14K) [application/x-rpm]
Saving to: âepel-release-6-8.noarch.rpmâ100%[===========================================================================================================================================================>] 14,540 62.1K/s in 0.2s2014-02-03 10:14:47 (62.1 KB/s) – âepel-release-6-8.noarch.rpmâ[root@ITHelpBlog /]#

Step 3: Install Epel

[root@ITHelpBlog /]# rpm -ivh epel-release-6-8.noarch.rpm
Preparing… ########################################### [100%]
package epel-release-6-8.noarch is already installed
[root@ITHelpBlog /]#

Step 4: install package by Epel

[root@ITHelpBlog /]# yum –enablerepo=epel install php-mcrypt
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.vonline.vn
* epel: mirrors.digipower.vn
* extras: mirrors.vonline.vn
* rpmforge: mirror-fpt-telecom.fpt.net
* updates: mirrors.vonline.vn
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package php-mcrypt.x86_64 0:5.3.3-3.el6 will be installed
–> Finished Dependency ResolutionDependencies Resolved=====================================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================================
Installing:
php-mcrypt x86_64 5.3.3-3.el6 epel 19 kTransaction Summary
=====================================================================================================================================================================================================
Install 1 Package(s)

Total download size: 19 k
Installed size: 46 k
Is this ok [y/N]: y
Downloading Packages:
php-mcrypt-5.3.3-3.el6.x86_64.rpm | 19 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : php-mcrypt-5.3.3-3.el6.x86_64 1/1
Verifying : php-mcrypt-5.3.3-3.el6.x86_64 1/1

Installed:
php-mcrypt.x86_64 0:5.3.3-3.el6

Complete!
[root@ITHelpBlog /]#

Thanks for using IThelpblog.com.

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>