Sabtu, 22 September 2018

Enable the EPEL repository on CentOS 6.x, RedHat 6.x, or Oracle Linux 6.4 or higher

  Tidak ada komentar
How to enable the epel repository on CentOS 6.x, RedHat 6.x, or Oracle Linux 6.4 or higher, first download the rpm epel release package from fedora project website, you can use wget or curl command for download as shown on following figure
[root@wachid ~]#
[root@wachid ~]# curl -O http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 14540  100 14540    0     0  15975      0 --:--:-- --:--:-- --:--:-- 23993
[root@wachid ~]#
[root@wachid ~]# ls
anaconda-ks.cfg  epel-release-latest-6.noarch.rpm  install.log  install.log.syslog  mysql-5.1.73-8.el6_8.x86_64.rpm
[root@wachid ~]#
After download process finish, install the package with rpm command as following figure

[root@wachid ~]#
[root@wachid ~]# rpm -ivh epel-release-latest-6.noarch.rpm
warning: epel-release-latest-6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing...                ########################################### [100%]
   1:epel-release           ########################################### [100%]
[root@wachid ~]#
Check the repo installed properly with listing the repo


[root@wachid ~]# yum repolist all
Loaded plugins: product-id
repo id                               repo name                                                                        status
epel                                  Extra Packages for Enterprise Linux 6 - x86_64                                   enabled: 12,520
epel-debuginfo                        Extra Packages for Enterprise Linux 6 - x86_64 - Debug                           disabled
epel-source                           Extra Packages for Enterprise Linux 6 - x86_64 - Source                          disabled
epel-testing                          Extra Packages for Enterprise Linux 6 - Testing - x86_64                         disabled
epel-testing-debuginfo                Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Debug                 disabled
epel-testing-source                   Extra Packages for Enterprise Linux 6 - Testing - x86_64 - Source                disabled
rhel-source                           Red Hat Enterprise Linux 6Server - x86_64 - Source                               disabled
rhel-source-beta                      Red Hat Enterprise Linux 6Server Beta - x86_64 - Source                          disabled
repolist: 12,520
[root@wachid ~]#
We can see on figure above that epel repo is there, the installation is success

Tidak ada komentar :

Posting Komentar