{"id":12364,"date":"2019-03-26T21:37:12","date_gmt":"2019-03-26T21:37:12","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=12364"},"modified":"2019-03-26T21:37:12","modified_gmt":"2019-03-26T21:37:12","slug":"elrepo-community-repo-for-enterprise-linux-rhel-centos-sl","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/26\/elrepo-community-repo-for-enterprise-linux-rhel-centos-sl\/","title":{"rendered":"ELRepo \u2013 Community Repo for Enterprise Linux (RHEL, CentOS &#038; SL)"},"content":{"rendered":"<p>If you are using an Enterprise Linux distribution (<strong>Red Hat Enterprise Linux<\/strong>\u00a0or one of its derivatives, such as\u00a0<strong>CentOS<\/strong>\u00a0or\u00a0<strong>Scientific Linux<\/strong>) and need support for specific or new hardware, you are in the right place.<\/p>\n<p>In this article we will discuss how to enable the ELRepo repository, a software source that includes everything from filesystem drivers to webcam drivers with everything in between (support for graphics, network cards, sound devices, and even\u00a0<a href=\"https:\/\/www.tecmint.com\/install-upgrade-kernel-version-in-centos-7\/\" target=\"_blank\" rel=\"noopener\">new kernels<\/a>).<\/p>\n<h3>Enabling ELRepo in Enterprise Linux<\/h3>\n<p>Although\u00a0<strong>ELRepo<\/strong>\u00a0is a third-party repository, it is well supported by an active community on\u00a0<strong>Freenode<\/strong>\u00a0(<strong>#elrepo<\/strong>) and a mailing list for users.<\/p>\n<p>If you are still apprehensive about adding an independent repository to your software sources, note that the\u00a0<strong>CentOS<\/strong>\u00a0project lists it as trustworthy in its wiki (<a href=\"https:\/\/wiki.centos.org\/AdditionalResources\/Repositories\" target=\"_blank\" rel=\"nofollow noopener\">see here<\/a>). If you still have concerns, feel free to ask away in the comments!<\/p>\n<p>It is important to note that\u00a0<strong>ELRepo<\/strong>\u00a0not only provides support for\u00a0<strong>Enterprise Linux 7<\/strong>, but also for previous versions. Considering that\u00a0<strong>CentOS 5<\/strong>\u00a0is reaching its end of life (EOL) at the end of this month (<strong>March 2017<\/strong>) that may not seem like a big deal, but keep in mind that\u00a0<strong>CentOS 6<\/strong>\u00a0won\u2019t reach its EOL until March 2020.<\/p>\n<p>Regardless of the\u00a0<strong>EL<\/strong>\u00a0version, you will need to import the repository\u2019s GPG key before actually enabling it:<\/p>\n<pre># rpm --import https:\/\/www.elrepo.org\/RPM-GPG-KEY-elrepo.org\r\n<\/pre>\n<h4>Enable ELRepo in EL5<\/h4>\n<pre># rpm -Uvh http:\/\/www.elrepo.org\/elrepo-release-5-5.el5.elrepo.noarch.rpm\r\n<\/pre>\n<h4>Enable ELRepo in EL6<\/h4>\n<pre># rpm -Uvh http:\/\/www.elrepo.org\/elrepo-release-6-6.el6.elrepo.noarch.rpm\r\n<\/pre>\n<h4>Enable ELRepo in EL7<\/h4>\n<pre># rpm -Uvh http:\/\/www.elrepo.org\/elrepo-release-7.0-2.el7.elrepo.noarch.rpm\r\n<\/pre>\n<p>In this article we will only deal with EL7, and share a few examples in the next section.<\/p>\n<h3>Understand ELRepo Channels<\/h3>\n<p>To better organize the software contained in this repository,\u00a0<strong>ELRepo<\/strong>\u00a0is divided into 4 separate channels:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><strong>elrepo<\/strong>\u00a0is the main channel and is enabled by default. It does not contain packages present in the official distribution.<\/li>\n<li><strong>elrepo-extras<\/strong>\u00a0contains packages that replace some provided by the distribution. It is not enabled by default. To avoid confusion, when a package needs to be installed or updated from this repository, it can be temporarily enabled via\u00a0<strong>yum<\/strong>\u00a0as follows (replace package with an actual package name):<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre># yum --enablerepo=elrepo-extras install package\r\n<\/pre>\n<ul>\n<li><strong>elrepo-testing<\/strong>\u00a0provides packages that will at one point be part of the main channel but are still under testing.<\/li>\n<li><strong>elrepo-kernel<\/strong>\u00a0provides long term and stable mainline kernels that have been specially configured for EL.<\/li>\n<\/ul>\n<p>Both\u00a0<strong>elrepo-testing<\/strong>\u00a0and\u00a0<strong>elrepo-kernel<\/strong>\u00a0are disabled by default and can be enabled as in the case of\u00a0<strong>elrepo-extras<\/strong>if we\u00a0<a href=\"https:\/\/www.tecmint.com\/auto-install-security-patches-updates-on-centos-rhel\/\" target=\"_blank\" rel=\"noopener\">need to install or update a package<\/a>\u00a0from them.<\/p>\n<p>To list the available packages in each channel, run one of the following commands:<\/p>\n<pre># yum --disablerepo=\"*\" --enablerepo=\"elrepo\" list available\r\n# yum --disablerepo=\"*\" --enablerepo=\"elrepo-extras\" list available\r\n# yum --disablerepo=\"*\" --enablerepo=\"elrepo-testing\" list available\r\n# yum --disablerepo=\"*\" --enablerepo=\"elrepo-kernel\" list available\r\n<\/pre>\n<p>The following images illustrates the first example:<\/p>\n<div id=\"attachment_24965\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/List-ELRepo-Available-Packages.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-24965\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/List-ELRepo-Available-Packages.png\" sizes=\"auto, (max-width: 824px) 100vw, 824px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/List-ELRepo-Available-Packages.png 824w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/03\/List-ELRepo-Available-Packages-768x295.png 768w\" alt=\"List ELRepo Available Packages\" width=\"824\" height=\"317\" aria-describedby=\"caption-attachment-24965\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p id=\"caption-attachment-24965\" class=\"wp-caption-text\">List ELRepo Available Packages<\/p>\n<\/div>\n<h5>Summary<\/h5>\n<p>In this post we have explained what is\u00a0<strong>ELRepo<\/strong>\u00a0and what are the circumstances where you may want to add it to your software sources.<\/p>\n<p>If you have any questions or comments about this article, feel free to use the form below to reach us. We look forward to hearing from you!<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/enable-elrepo-in-rhel-centos-scientific-linux\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are using an Enterprise Linux distribution (Red Hat Enterprise Linux\u00a0or one of its derivatives, such as\u00a0CentOS\u00a0or\u00a0Scientific Linux) and need support for specific or new hardware, you are in the right place. In this article we will discuss how to enable the ELRepo repository, a software source that includes everything from filesystem drivers to &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/26\/elrepo-community-repo-for-enterprise-linux-rhel-centos-sl\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ELRepo \u2013 Community Repo for Enterprise Linux (RHEL, CentOS &#038; SL)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-12364","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=12364"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12364\/revisions"}],"predecessor-version":[{"id":12365,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/12364\/revisions\/12365"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=12364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=12364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=12364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}