How to create EPEL Repository ?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How to create EPEL Repository ?
# 1  
Old 01-22-2014
How to create EPEL Repository ?

This is not a right place to ask this question but iam little bit confused. Please tell me how to create EPEL repository in RHEL 6.4
# 2  
Old 01-22-2014
First, you need to install the Package yum-priorities:
Code:
yum install yum-priorities

Then download and install the latest Package epel-release matching your architecture, for example:
Code:
yum install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

Then add priority = 10 to the repositories defined in /etc/yum.repos.d/epel.repo, for example:
Code:
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
priority=10
...

That should do the trick.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. SuSE

Repository out of date.

I get this message when attempting to update OpenSUSE 42.2: Error building the cache: Warning: Repository 'Main Update Repository' appears to be outdated. Consider using a different mirror or server. Nothing to do. What's happening? (2 Replies)
Discussion started by: geos0xAA55
2 Replies

2. Linux

How can I install epel-release without connect to internet?

Hi guy, I am new to Linux,can I know how can I download the epel-release offline package to install as my centos 7 is not connect to Internet . Any help is appreciated (2 Replies)
Discussion started by: leecopper
2 Replies

3. Red Hat

Repository update

i have a repository server for red hat and centos clients. the repository contain all the rpms from the original install cd. now lets say i will add for example the new BASH rpm that fixes the shellshock vaulnerbility. when the client machine will run the command: "yum update bash" did the yum... (1 Reply)
Discussion started by: guy3145
1 Replies

4. Red Hat

Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia.

Most of my commands are returning this error on RHEL 6 64 bit: Also I tried installing many sofwtares, but it fails to correctly work. For example I treid installing dos2unix: # rpm -ivh dos2unix-5.3.3-5.ram0.98.src.rpm 1:dos2unix warning: user mockbuild does not... (0 Replies)
Discussion started by: India_2014
0 Replies

5. UNIX for Dummies Questions & Answers

Configuring EPEL repo and setting it as default repo.

I am using RHEL 6, but with no RHN subscription. I tried installing the EPEL repo, it is enabled under yum repolist but when I try a sample search such as yum search nginx , there's a string of errno 14 PYCURL error 6 . When I tried yum list installed, it didn't work because it defaults to the... (0 Replies)
Discussion started by: Hijanoqu
0 Replies

6. Programming

How to create a new file in a CVS repository

I have a coding project that I'm working on, and I'm tracking revisions using CVS. I'm working on a branch (branch1) at version 1.1.2.1. Anyway, I created a new C file in the directory for the project, but I can't commit it. The tutorial I read on CVS said that version numbers will be assigned... (6 Replies)
Discussion started by: Ultrix
6 Replies

7. UNIX for Dummies Questions & Answers

Problem when I use Repository

Hi Gurus of Unix I use the Package Manager of OpenSolaris I set my Package Manager : "http://pkg.sunfreeware.com:9000/" But when I try to install packet appear the following Error: Please check the network connection. Is the repository accessible? Transfer from... (0 Replies)
Discussion started by: andresguillen
0 Replies

8. Red Hat

The Journey of OpenJDK 6 into Fedora, EPEL, and freedom - podcast with Tom Fitzsimmon

The first morning of JavaOne was a great serendipitous event. How often does something fall into place like this: I saw Barton George, who looks after Sun’s relationships with Linux communities, and we decided to cook up a podcast about OpenJDK 6 in Fedora 9. As we walked to the recording room,... (0 Replies)
Discussion started by: Linux Bot
0 Replies

9. UNIX for Dummies Questions & Answers

Repository of HP-UX 10.20 packages

Hello, What the adresses of ftps or websites the packages depots to HP-UX 10.20 I am search and google I did not get success. Thanks :D (1 Reply)
Discussion started by: markos
1 Replies
Login or Register to Ask a Question