I have downloaded Fedora 11 1ive CD and installed it successfully in my PC, I also have downloaded Fedora-11-i386-DVD.iso into my hard disk.
I want to mount DVD iso and install applications from DVD iso by using
yum install, I do not want to download through fedora mirrors.
I do the following steps,
Code:
$yum install createrepo
$mkdir -p /mnt/iso/{1,2,3}
$mount -o loop /path/to/Fedora-11.DVD.iso /mnt/iso/1
$cd /mnt/iso
$createrep .
after these commands, I can see the system read more than 2000 packages one by one in my pc.
Then i use the following command,
Code:
$yum clean all
vi /etc/yum.repos.d/iso.repo
the contents of iso.repo are as follows,
Code:
[My ISO repository]
name=ISO
baseurl=file:///mnt/iso
enabled=1
After these, I use $yum install xfig
The systems said, "Bad id, byte=2"
yum still uses internet to install the applications?
Could anyone help me?