Thursday, March 31, 2011

Add EPEL Repository to RHEL6

  1. Enable EPEL repo:
    wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
    rpm -ivh epel-release-6-5.noarch.rpm
  2. Enable the 'optional' RHN Channel:
    1. Go to RHN Website
    2. Click into your system's profile
    3. Click Alter Channel Subscriptions at the bottom left next to Subscribed Channels
    4. Check RHEL Server Optional (v. 6 64-bit x86_64) and press Change Subscriptions
  3. Change all https to http in /etc/yum.repos.d/epel.repo and epel-testing.repo

2 comments:

  1. In RHEL5 you didn't need it. I don't know why I did in RHEL6. Some epel package I wanted referenced something on RHN I guess. Same package I was using fine on RHEL5.

    Undisclosed fact: you can share one RHN account across multiple hosts. You just have to delete the prior host and add the next one each time you want to download RHN packages. A pain, but money saving if you rarely install updates.

    ReplyDelete