LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Switching/adding repos in RHEL6 (https://www.linuxquestions.org/questions/red-hat-31/switching-adding-repos-in-rhel6-846102/)

Alexvader 11-23-2010 03:50 PM

Switching/adding repos in RHEL6
 
Hi forum

I am trying RHEL6 in the 30 days free trial period... I am considering to add CentoS 6 epel repos to add more packages... ( geez... RHEL repos are really tiny aren't they ?! :( )

I know I must change /etc/yum.repos.d/ and create some epel.repo with some content...

What do I put there to activate epel-6 repo...? I know this is already active...

GardarS 11-24-2010 06:11 PM

I don't think CentOS 6 is out yet, though I'm not sure, can't seem to see it on their website though.

Code:

name=Extra Packages for Enterprise Linux 5 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/5/SRPMS
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-5&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL
gpgcheck=1

Well here's my epel repo for CentOS 5, I'd assume you'd just switch the mirror url for the url to the epel 6 repo and put 1 in the enabled section, if it isn't already.

Alexvader 11-27-2010 12:55 PM

Thks GardarS :)

GardarS 11-28-2010 07:18 PM

You're welcome :)


All times are GMT -5. The time now is 10:14 AM.