<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Repository Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/repository/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Thu, 13 Sep 2018 09:22:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.13</generator>
	<item>
		<title>How to enable The EPEL repository on CentOS 6, 7 ?</title>
		<link>https://www.osradar.com/how-to-enable-the-epel-repository-on-centos-6-7/</link>
					<comments>https://www.osradar.com/how-to-enable-the-epel-repository-on-centos-6-7/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 13 Sep 2018 09:22:53 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[EPEL]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=5683</guid>

					<description><![CDATA[<p>CentOS is a large GNU/LINUX distribution oriented for use on servers. Based on and compatible with Red Hat Enterprise Linux, it is well known and popular with system administrators thanks to its strong security policies and above all for its robustness and stability. However, it does not always have a complete package and must resort [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-enable-the-epel-repository-on-centos-6-7/">How to enable The EPEL repository on CentOS 6, 7 ?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.centos.org/">CentOS</a> is a large GNU/LINUX distribution <strong>oriented for use on servers</strong>. Based on and compatible with Red Hat Enterprise Linux, it is well known and popular with system administrators thanks to its strong security policies and above all for its robustness and stability. However, it does not always have a complete package and must resort to external repositories in order to have the advanced software. <strong>The EPEL repository</strong> contains packages absolutely compatible with CentOS bringing it more flexibility and possibilities.</p>
<p class="western" lang="en-US" align="justify">It provides a good amount of updated and stable packages ready to be installed in CentOS.</p>
<p>The main advantages of using this repository are:</p>
<ul>
<li>Provides updated packages easily installable via YUM.</li>
<li>It is a reliable and secure repository. Maintained by Fedora repo.</li>
<li>It provides us with packages that are not in the official CENTOS or RHEL repositories.</li>
<li>Built with open source tools.</li>
</ul>
<h2 align="justify">Enabling the EPEL repository</h2>
<h3>For RHEL and CentOS 7 64bits</h3>
<p class="western" lang="en-US"><span style="font-family: Arial, serif;">In order to achieve the goal, t</span><span style="font-family: Arial, serif;">he first thing you must do to enable the EPEL repository is to have root user privileges, so write to a terminal:</span></p>
<pre class="">:~$ su</pre>
<figure id="attachment_5684" aria-describedby="caption-attachment-5684" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5684" src="https://www.osradar.com/wp-content/uploads/2018/09/1-4.png" alt="1.- Logging as root user" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/1-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/1-4-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/1-4-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/1-4-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/1-4-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/1-4-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/1-4-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5684" class="wp-caption-text">1.- Logging as root user</figcaption></figure>
<p>After you have set your root password, you can continue with the repository enable.</p>
<p>Next, you must make sure to have <code>wget</code> installed, which is a utility to download files from the terminal.</p>
<pre class="">:~# yum install wget</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
<figure id="attachment_5685" aria-describedby="caption-attachment-5685" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5685" src="https://www.osradar.com/wp-content/uploads/2018/09/2-4.png" alt="2.- Installing wget from terminal" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/2-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/2-4-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/2-4-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/2-4-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/2-4-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/2-4-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/2-4-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5685" class="wp-caption-text">2.- Installing wget from the terminal</figcaption></figure>
<p>Once you are sure you have wget installed, you can download the.rpm package that configures the repository. Run,</p>
<pre class="">:~# wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm</pre>
<figure id="attachment_5686" aria-describedby="caption-attachment-5686" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5686" src="https://www.osradar.com/wp-content/uploads/2018/09/3-4.png" alt="3.- Downsloading package for EPEL repository" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/3-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/3-4-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/3-4-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/3-4-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/3-4-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/3-4-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/3-4-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5686" class="wp-caption-text">3.- Downloading package for EPEL repository</figcaption></figure>
<p>Once the package has been downloaded, install it.</p>
<pre class="">:~# rpm -ivh epel-release-latest-7.noarch.rpm</pre>
<figure id="attachment_5687" aria-describedby="caption-attachment-5687" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5687" src="https://www.osradar.com/wp-content/uploads/2018/09/4-5.png" alt="4.- Installing downloaded package" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/4-5.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/4-5-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/4-5-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/4-5-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/4-5-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/4-5-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/4-5-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5687" class="wp-caption-text">4.- Installing downloaded package</figcaption></figure>
<h3>For RHEL and CentOS 6 64bits</h3>
<p>For the previous version, i.e. CentOS 6, the process is similar. First, make sure you have <code>wget</code>:</p>
<pre class="">:~# yum install wget</pre>
<p>And then, proceed to download the specific package for this version.</p>
<pre class="">:~# wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm</pre>
<p>And finally, proceed to install it as a .rpm package.</p>
<pre class="">:~# rpm -ivh epel-release-6-8.noarch.rpm</pre>
<p>That&#8217;s it.</p>
<h2>Verifying the repository was added correctly</h2>
<p>If the installation went well, you should have the repository added correctly but you can prove it. Type the following command to do this:</p>
<pre class="">:~# yum repolist</pre>
<figure id="attachment_5688" aria-describedby="caption-attachment-5688" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5688" src="https://www.osradar.com/wp-content/uploads/2018/09/5-4.png" alt="5.- Running yum repolist" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/5-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/5-4-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/5-4-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/5-4-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/5-4-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/5-4-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/5-4-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5688" class="wp-caption-text">5.- Running yum repolist</figcaption></figure>
<p>Now, you can say that the repository was successfully added.</p>
<h2>Using EPEL on CentOS 7</h2>
<p>To use the EPEL repository, you must use YUM, and you can search for a package if it is available within that repository. I will use the <code>nagios</code> package as an example.</p>
<pre class="">:~# yum --enablerepo=epel info nagios</pre>
<figure id="attachment_5689" aria-describedby="caption-attachment-5689" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5689" src="https://www.osradar.com/wp-content/uploads/2018/09/6-4.png" alt="6.- Showing information package from EPEL repository" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/6-4.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/6-4-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/6-4-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/6-4-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/6-4-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/6-4-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/6-4-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5689" class="wp-caption-text">6.- Showing information package from EPEL repository</figcaption></figure>
<p>And if you wanted to install it, you would use the following command:</p>
<pre class="">:~# yum --enablerepo=epel install nagios</pre>
<figure id="attachment_5690" aria-describedby="caption-attachment-5690" style="width: 1368px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-5690" src="https://www.osradar.com/wp-content/uploads/2018/09/7-5.png" alt="7.- Installing a package from EPEL repository" width="1368" height="710" srcset="https://www.osradar.com/wp-content/uploads/2018/09/7-5.png 1368w, https://www.osradar.com/wp-content/uploads/2018/09/7-5-300x156.png 300w, https://www.osradar.com/wp-content/uploads/2018/09/7-5-768x399.png 768w, https://www.osradar.com/wp-content/uploads/2018/09/7-5-1024x531.png 1024w, https://www.osradar.com/wp-content/uploads/2018/09/7-5-696x361.png 696w, https://www.osradar.com/wp-content/uploads/2018/09/7-5-1068x554.png 1068w, https://www.osradar.com/wp-content/uploads/2018/09/7-5-809x420.png 809w" sizes="(max-width: 1368px) 100vw, 1368px" /><figcaption id="caption-attachment-5690" class="wp-caption-text">7.- Installing a package from EPEL repository</figcaption></figure>
<p>Adding the EPEL repository in our CentOS or RHEL is of vital importance because of the number of packages they have, and even more, updated than those that come by default in the official repositories.</p>
<p>Tell us about your experience with CentOS and the EPEL repository?</p>
<p>Please share this post with your friends.</p>
<p>&nbsp;</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-enable-the-epel-repository-on-centos-6-7/">How to enable The EPEL repository on CentOS 6, 7 ?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-enable-the-epel-repository-on-centos-6-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
