{"id":1765,"date":"2012-01-24T16:30:31","date_gmt":"2012-01-24T08:30:31","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=1765"},"modified":"2023-04-28T09:49:57","modified_gmt":"2023-04-28T09:49:57","slug":"how-to-install-extra-repository-for-redhat-enterprise-linux-6-rhel6","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-extra-repository-for-redhat-enterprise-linux-6-rhel6\/","title":{"rendered":"How to Install Extra Repository for Redhat Enterprise Linux 6 (RHEL6)"},"content":{"rendered":"<p>Epel and Atomic Yum repositories are popular open-source package repositories that provide additional software packages for Red Hat Enterprise Linux (RHEL) 6. These repositories are not included in the default RHEL 6 installation but can be easily added. In this guide, we will show you how to set up Epel and Atomic Yum repositories on RHEL 6.<\/p>\n<h2>Step 1: Enable the Epel Yum Repository<\/h2>\n<p>To enable the Epel Yum repository, you need to download and install the appropriate Epel RPM package for your RHEL version. Run the following command:<\/p>\n<pre>wget https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-6.noarch.rpm<\/pre>\n<p>This command will download the Epel RPM package to your current directory. Once the download is complete, install the package by running the following command:<\/p>\n<pre>sudo rpm -ivh epel-release-latest-6.noarch.rpm<\/pre>\n<p>This command will install the Epel repository on your RHEL 6 system.<\/p>\n<pre class=\"code\">\r\n[root@rhel6 tmp]# yum repolist\r\nLoaded plugins: rhnplugin\r\nThis system is not registered with RHN.\r\nRHN support will be disabled.\r\nepel\/metalink                                                                | 3.8 kB     00:00\r\nepel                                                                         | 4.3 kB     00:00\r\nepel\/primary_db                                                              | 3.4 MB     00:38\r\nrepo id                          repo name                                                    status\r\nRHEL6-Repository                 RHEL6 repository                                             13,395\r\nepel                             Extra Packages for Enterprise Linux 6 - i386                  5,625\r\nrepolist: 19,020\r\n<\/pre>\n<h2>Step 2: Enable the Atomic Yum Repository<\/h2>\n<p>To enable the Atomic Yum repository, you need to download and install the appropriate Atomic RPM package for your RHEL version. Run the following command:<\/p>\n<pre>wget -q -O - http:\/\/www.atomicorp.com\/installers\/atomic | sh<\/pre>\n<p>This command will download and execute the Atomic installation script. The script will install the Atomic repository on your RHEL 6 system.<\/p>\n<h2>Step 3: Verify the Repositories<\/h2>\n<p>Once you have enabled both repositories, you can verify that they are working correctly by running the following command:<\/p>\n<pre>yum repolist<\/pre>\n<p>This command will display a list of all enabled repositories on your system, including Epel and Atomic.<\/p>\n<pre class=\"code\">\r\n[root@rhel6 ~]# yum repolist\r\nLoaded plugins: rhnplugin\r\nThis system is not registered with RHN.\r\nRHN support will be disabled.\r\nrepo id               repo name                                                               status\r\nRHEL6-Repository      RHEL6 repository                                                        13,395\r\natomic                CentOS \/ Red Hat Enterprise Linux 6Server - atomicrocketturtle.com         394\r\nepel                  Extra Packages for Enterprise Linux 6 - i386                             5,625\r\nrepolist: 19,414\r\n<\/pre>\n<h2>Step 4: Install Packages from the Repositories<\/h2>\n<p>Now that you have enabled the Epel and Atomic repositories, you can install packages from these repositories using the yum command. For example, to install the htop package from the Epel repository, run the following command:<\/p>\n<pre>sudo yum install htop<\/pre>\n<p>To install the mod_security package from the Atomic repository, run the following command:<\/p>\n<pre>sudo yum install mod_security<\/pre>\n<h2>Commands Mentioned:<\/h2>\n<ul>\n<li><span class=\"fw-bold\">wget<\/span> &#8211; Download files from the internet<\/li>\n<li><span class=\"fw-bold\">sudo rpm -ivh<\/span> &#8211; Install RPM packages<\/li>\n<li><span class=\"fw-bold\">yum repolist<\/span> &#8211; Display a list of enabled repositories<\/li>\n<li><span class=\"fw-bold\">sudo yum install<\/span> &#8211; Install packages from repositories<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>In this guide, we have shown you how to set up the Epel and Atomic Yum repositories on RHEL 6. By following these steps, you can enable these repositories and install additional software packages on your RHEL 6 system. We hope this guide has been helpful to you. If you have any comments or suggestions for improvements, please feel free to share them below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Epel and Atomic Yum repositories are popular open-source package repositories that provide additional software packages for Red Hat Enterprise Linux (RHEL) 6. These repositories are not included in the default&#8230;<\/p>\n","protected":false},"author":6,"featured_media":1499,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2058,1065,2062],"tags":[1536,1713,1715,1944],"class_list":["post-1765","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rhel","category-system-administration","category-yum","tag-linux","tag-rhel","tag-rhel-6","tag-yum-repositories"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=1765"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1765\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/1499"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=1765"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=1765"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=1765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}