{"id":1969,"date":"2014-08-19T11:03:12","date_gmt":"2014-08-19T11:03:12","guid":{"rendered":"http:\/\/blog.designed79.co.uk\/?p=1969"},"modified":"2014-08-19T11:03:49","modified_gmt":"2014-08-19T11:03:49","slug":"1969","status":"publish","type":"post","link":"https:\/\/blog.designed79.co.uk\/?p=1969","title":{"rendered":"Install EPEL Repo on a CentOS and RHEL 7.x"},"content":{"rendered":"<div class=\"headline_area\">\n<p class=\"entry-title\" style=\"color: #111111;\">You can easily install various packages by configuring a CentOS 7.x or RHEL 7.x system to use Fedora EPEL repos and third party packages. Please note that these packages are not officially supported by either CentOS or Red Hat, but provides many popular packages and apps.<\/p>\n<\/div>\n<div class=\"format_text entry-content\">\n<h2 style=\"color: #111111;\">How to install RHEL EPEL repository on Centos 7.x or RHEL 7.x<\/h2>\n<p style=\"color: #111111;\">The following instuctions assumes that you are running command as root user on a CentOS\/RHEL 7.x system and want to use use Fedora Epel repos.<\/p>\n<h3 style=\"color: #111111;\">Install the extra EPEL repositories<\/h3>\n<p style=\"color: #111111;\">The command is as follows to download epel release for CentOS and RHEL 7.x using wget command:<\/p>\n<pre class=\"bash\" style=\"color: #111111;\">\u00a0\r\n<span style=\"font-weight: bold; color: #7a0874;\">cd<\/span> \/tmp\r\n<span style=\"font-weight: bold; color: #c20cb9;\">wget<\/span> http:\/\/dl.fedoraproject.org\/pub\/epel\/beta\/<span style=\"color: #000000;\">7<\/span>\/x86_64\/epel-release<span style=\"color: #000000;\">-7<\/span><span style=\"color: #000000;\">-0.2<\/span>.noarch.rpm\r\n<span style=\"font-weight: bold; color: #c20cb9;\">ls<\/span> *.rpm\r\n<\/pre>\n<p style=\"color: #111111;\">To install epel-release-7-0.2.noarch.rpm, type:<\/p>\n<pre class=\"bash\" style=\"color: #111111;\">\u00a0\r\n<span style=\"font-weight: bold; color: #c20cb9;\">sudo<\/span> yum <span style=\"font-weight: bold; color: #c20cb9;\">install<\/span> epel-release<span style=\"color: #000000;\">-7<\/span><span style=\"color: #000000;\">-0.2<\/span>.noarch.rpm\r\n<\/pre>\n<p style=\"color: #111111;\">Sample outputs:<\/p>\n<pre class=\"ini\" style=\"color: #111111;\">Loaded plugins: amazon-id, rhui-lb\r\nExamining epel-release-7-0.2.noarch.rpm: epel-release-7-0.2.noarch\r\nMarking epel-release-7-0.2.noarch.rpm to be installed\r\nResolving Dependencies\r\n--&gt; Running transaction check\r\n---&gt; Package epel-release.noarch 0:7-0.2 will be installed\r\n--&gt; Finished Dependency Resolution\r\n\u00a0\r\nDependencies <span style=\"color: #000099;\">Resolved\r\n\u00a0\r\n<\/span>=<span style=\"color: #660066;\">==========================================================================================<\/span>\r\n Package             Arch          Version         Repository                         <span style=\"color: #000099;\">Size\r\n<\/span>=<span style=\"color: #660066;\">==========================================================================================<\/span>\r\nInstalling:\r\n epel-release        noarch        7-0.2           \/epel-release-7-0.2.noarch         22 k\r\n\u00a0\r\nTransaction <span style=\"color: #000099;\">Summary\r\n<\/span>=<span style=\"color: #660066;\">==========================================================================================<\/span>\r\nInstall  1 Package\r\n\u00a0\r\nTotal size: 22 k\r\nInstalled size: 22 k\r\nIs this ok <span style=\"font-weight: bold; color: #000066;\">[y\/d\/N]<\/span>: y\r\nDownloading packages:\r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\n  Installing : epel-release-7-0.2.noarch                                               1\/1\r\n  Verifying  : epel-release-7-0.2.noarch                                               1\/1\r\n\u00a0\r\nInstalled:\r\n  epel-release.noarch 0:7-0.2\r\n\u00a0\r\nComplete!\r\n<\/pre>\n<h2 style=\"color: #111111;\">List your new repos<\/h2>\n<p style=\"color: #111111;\">Once installed you should see epel repo using the following\u00a0<a style=\"color: #2361a1;\" href=\"http:\/\/www.cyberciti.biz\/faq\/centos-fedora-redhat-yum-repolist-command-tolist-package-repositories\/\">yum repolist command<\/a><\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">$ sudo yum repolist<\/div><\/div>\n<p>Sample outputs:<\/p>\n<pre style=\"color: #111111;\">Loaded plugins: amazon-id, rhui-lb\r\nrepo id                                         repo name                            status\r\nepel\/x86_64                                     Extra Packages for Enterprise Linux  4,444\r\nrhui-REGION-client-config-server-7\/x86_64       Red Hat Update Infrastructure 2.0 Cl     1\r\nrhui-REGION-rhel-server-releases\/7Server\/x86_64 Red Hat Enterprise Linux Server 7 (R 4,457\r\nrepolist: 8,902\r\n<\/pre>\n<h2 style=\"color: #111111;\">Search and install package<\/h2>\n<p style=\"color: #111111;\">To list all avialble packages under a repo called epel, enter:<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">$ sudo yum --disablerepo=&quot;*&quot; --enablerepo=&quot;epel&quot; list available<\/div><\/div>\n<p>OR<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">$ sudo yum --disablerepo=&quot;*&quot; --enablerepo=&quot;epel&quot; list available | grep 'package'<\/div><\/div>\n<p>OR<\/p>\n<div class=\"codecolorer-container text default\" style=\"overflow:auto;white-space:nowrap;\"><div class=\"text codecolorer\">$ sudo yum --disablerepo=&quot;*&quot; --enablerepo=&quot;epel&quot; list available | less<\/div><\/div>\n<p>Sample outputs:<\/p>\n<p><a style=\"color: #2361a1;\" href=\"http:\/\/www.cyberciti.biz\/faq\/installing-rhel-epel-repo-on-centos-redhat-7-x\/epel-centos7-rhel7-list-all-packages\/\" rel=\"attachment wp-att-54391\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-54391\" src=\"http:\/\/s0.cyberciti.org\/uploads\/faq\/2014\/06\/epel-centos7-rhel7-list-all-packages.jpg\" alt=\"Fig. 01: List all available packages under a EPEL Repo on a CentOS\/RHEL\/Fedora Linux\" width=\"598\" height=\"361\" \/><\/a><\/p>\n<h3 style=\"color: #111111;\">Example: Search and install htop package from epel repo on a CentOS\/RHEL 7.x<\/h3>\n<p style=\"color: #111111;\">The commands are as follows:<\/p>\n<pre class=\"bash\" style=\"color: #111111;\"><span style=\"font-style: italic; color: #808080;\">## search it ##<\/span>\r\n<span style=\"font-weight: bold; color: #c20cb9;\">sudo<\/span> yum search htop\r\n\u00a0\r\n<span style=\"font-style: italic; color: #808080;\">## get <span style=\"font-weight: bold; color: #c20cb9;\">more<\/span> info, <span style=\"font-weight: bold; color: #000000;\">if<\/span> found ##<\/span>\r\n<span style=\"font-weight: bold; color: #c20cb9;\">sudo<\/span> yum info htop\r\n\u00a0\r\n<span style=\"font-style: italic; color: #808080;\">## <span style=\"font-weight: bold; color: #c20cb9;\">install<\/span> it ##<\/span>\r\n<span style=\"font-weight: bold; color: #c20cb9;\">sudo<\/span> yum <span style=\"font-weight: bold; color: #c20cb9;\">install<\/span> htop\r\n<\/pre>\n<p style=\"color: #111111;\">And, there you have it, a larger number of packages to install from EPEL repo on a CentOS and Red Hat Enterprise Linux (RHEL) version 7.x.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>You can easily install various packages by configuring a CentOS 7.x or RHEL 7.x system to use Fedora EPEL repos and third [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1969","post","type-post","status-publish","format-standard","hentry","category-info-on-tech"],"_links":{"self":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1969"}],"version-history":[{"count":0,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1969\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.designed79.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}