Use an ISO file or CD/DVD to install the Linux software package
Sometimes you need to install software on fedora, but the system is not installed by default, but the system disk must have it. In this case, it is very convenient to use Yum to install software from ISO or CD, and Yum can automatically parse dependencies; this method is especially convenient when there are no network conditions.
The steps are described as follows:
Mount ISO to a local device
# Mount Fedora-12-i386-DVD.iso-T iso9660-o loop/Media/CDROM/
If you use a CD, run the following command:
# Mount/dev/sr0/Media/CDROM/
Back up the original repos configuration file
# Cd/etc/yum. Repos. d/# mkdir backup # mv *. Repo backup/
Create a new repos File
[CDROM] Name = cdrombaseurl = file: // media/cdromenabled = 1 gpgcheck = 1 gpgkey = file: // media/CDROM/RPM-GPG-KEY-fedora-i386
Refresh Yum Cache
# Yum clean all # Yum makecache
Now you can use the yum command to install the software package ..