{"id":5268,"date":"2014-08-11T23:24:34","date_gmt":"2014-08-11T15:24:34","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=5268"},"modified":"2023-04-28T09:48:17","modified_gmt":"2023-04-28T09:48:17","slug":"how-to-enable-epel-and-remi-repository-into-centos-6","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-enable-epel-and-remi-repository-into-centos-6\/","title":{"rendered":"How to Enable EPEL and Remi Repository into CentOS 6"},"content":{"rendered":"<p>CentOS is a popular Linux distribution used for server and desktop environments. Enabling third-party repositories such as EPEL and Remi can provide access to additional software packages that are not available in the default CentOS repositories. In this guide, we will show you how to enable EPEL and Remi repositories into CentOS 6.<\/p>\n<h2>Step 1: Install EPEL Repository<\/h2>\n<p>To install EPEL repository on CentOS 6, run the following command as the root user:<\/p>\n<pre>\r\nrpm -Uvh https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-6.noarch.rpm\r\n<\/pre>\n<p>This command will download and install the latest version of EPEL repository into your CentOS 6 system.<\/p>\n<pre>\r\n[root@centos6 ~]# rpm -Uvh https:\/\/dl.fedoraproject.org\/pub\/epel\/6\/x86_64\/epel-release-6-8.noarch.rpm\r\nRetrieving https:\/\/dl.fedoraproject.org\/pub\/epel\/6\/x86_64\/epel-release-6-8.noarch.rpm\r\nPreparing...                ########################################### [100%]\r\n   1:epel-release           ########################################### [100%]\r\n<\/pre>\n<h2>Step 2: Install Remi Repository<\/h2>\n<p>To install Remi repository on CentOS 6, run the following command as the root user:<\/p>\n<pre>\r\nrpm -Uvh http:\/\/rpms.remirepo.net\/enterprise\/remi-release-6.rpm\r\n<\/pre>\n<p>This command will download and install the latest version of Remi repository into your CentOS 6 system.<\/p>\n<pre>\r\n[root@centos6 ~]# rpm -Uvh http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-6.rpm\r\nRetrieving http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-6.rpm\r\nPreparing...                ########################################### [100%]\r\n   1:remi-release           ########################################### [100%]\r\n<\/pre>\n<h2>Step 3: Enable Remi repository<\/h2>\n<p>By default, Remi repository is disabled. To enable it, open the Remi configuration file in a text editor:<\/p>\n<pre>\r\nvi \/etc\/yum.repos.d\/remi.repo\r\n<\/pre>\n<p>Find the following line:<\/p>\n<pre>\r\nenabled=0\r\n<\/pre>\n<p>Change the value to 1 to enable Remi repository:<\/p>\n<pre>\r\nenabled=1\r\n<\/pre>\n<p>Save and exit the text editor.<\/p>\n<h2>Step 4: Test<\/h2>\n<p>To test whether the EPEL and Remi repositories have been enabled successfully, run the following command as the root user:<\/p>\n<pre>\r\nyum list | grep epel\r\n<\/pre>\n<p>This command will list all the packages available in the EPEL repository. Similarly, run the following command to list all the packages available in the Remi repository:<\/p>\n<pre>\r\nyum list | grep remi\r\n<\/pre>\n<p>If the repositories have been enabled successfully, you should see a list of packages available in each repository.<\/p>\n<h2>Conclusion:<\/h2>\n<p>Enabling EPEL and Remi repositories can provide access to additional software packages that are not available in the default CentOS repositories. In this guide, we have shown you how to enable EPEL and Remi repositories into CentOS 6. Remember to always use caution when installing third-party software and ensure that you trust the source of the software.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CentOS is a popular Linux distribution used for server and desktop environments. Enabling third-party repositories such as EPEL and Remi can provide access to additional software packages that are not&#8230;<\/p>\n","protected":false},"author":6,"featured_media":5282,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2055,2058,2062],"tags":[1244,1253,1254,1255,1256,1361,1703],"class_list":["post-5268","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-rhel","category-yum","tag-centos","tag-centos-6-2","tag-centos-6-3","tag-centos-6-4","tag-centos-6-5","tag-epel","tag-remi"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/5268","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=5268"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/5268\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/5282"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=5268"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=5268"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=5268"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}