Menu
- About
- Ham Radio
- NL SwapShop
- NL SOTA Association
- 3D Models
- Linux
- Raspberry Pi
- Windows
- Software
- Photo Gallery
- Contact
- Search

Using Yum In RedHat Without A Subscription
If You use redhat 5 or 6 and dont have a subscription but would like to use yum rather than face rpm dependancy hell use the following guides and you can use your cd-rom/ISO image as a yum respoitory.
Redhat 5 instructions are below, redhat 6 users follow the guide at the bottom of the page. Both instructions start out differently depending if you are using CDROM or ISO but then they are the same. Just follow the guide and you will be fine.
Currently I only have instructions for RedHat 6 using cdrom.
Setup RedHat 5
CDROM INSTUCTIONS
mkdir /media/cdrom
mount /dev/cdrom /media/cdrom
cd /media/cdrom/Server
rpm -ihv createrepo-0.4.11-3.el5.noarch.rpm
mkdir /var/repo
cd /var/repo
createrepo -vpo /var/repo /media/cdrom
ln -s /media/cdrom/Server
ISO INSTUCTIONS
mkdir /mnt/rhel5
mount -o loop /path_to_iso/rhel-server-5.4-x86_64-dvd.iso /mnt/rhel5
cd /mnt/rhel5/Server
rpm -ihv createrepo-0.4.11-3.el5.noarch.rpm
mkdir /var/repo
cd /var/repo
createrepo -vpo /var/repo /mnt/rhel5
ln -s /mnt/rhel5/Server
Then create a file /etc/yum.repos.d/rhel5.repo with the following content
Then run ""yum update"" to upgrade your RedHat 5 system. From then on you can yum search or yum install any
packages you need
Setup RedHat 6
mount /dev/cdrom /mntcd /mnt
cat media.repo [TAKE NOTE OF THE “mediaid”]
gedit /etc/yum.repos.d/dvdrhel.repo
Place the following in the dvdrhel.repo file changing the "REPLACE_WITH_ID_FROM_ABOVE" with the ID you received from the above command.
Then run ""yum update"" to upgrade your RedHat 6 system. From then on you can yum search or yum install any
packages you need