Software >> OS >> Unix >> Linux >> RHEL >> 6.x >> How to install additional software e.g. firefox from redhat ISO

mount the .iso

# mount -o loop /dev/sr0 /mnt/iso/

# cp /mnt/iso/media/repo /etc/yum.repos.d/dvd.repo

# more /etc/yum.repos.d/dvd.repo

note the repo name e.g. in this case = InstallMedia

# yum search firefox --disablerepo=\* --enablerepo=InstallMedia

# yum -y install firefox --disablerepo=\* --enablerepo=InstallMedia

 

If X Window System is not installed, firefox cannot run.  need to install the following as well

# yum -y groupinstall "Desktop"  "X Window System"  --disablerepo=\* --enablerepo=InstallMedia