Fedora 10 Add/delete software locally
1. Mount the CD or ISO file to the file system:
Mount-T iso9660/dev/CDROM/mnt/CDROM
Or
Mount-o loop fedora-10-i386.iso/mnt/CDROM
2. Modify the location of the yum repository file:
Fedora's "Add/Remove software" searches for the list of installation packages online by default. If you do not want to search online, you only need to add/delete software locally, then we need to adjust the location of the yum repository file.
Back up the files in/etc/yum. Repos. d/to another place.
Mkdir backup
MV fedora *./backup
Then, create a file with the. Repo extension in/etc/yum. Repos. d/, such as CDROM. repo.
Vi cdrom. Repo
[CDROM] # It cannot be changed here. Otherwise, a software Baotou error will occur.
Name = CDROM
Baseurl = file: // MNT/CDROM # Here is the path to attach your CD
Enabled = 1
Gpgcheck = 1
Gpgkey = file: // MNT/CDROM/RPM-GPG-KEY-fedora-i386 # the authentication file in the CD
Note: The comment statement may need to be changed, and the comment statement cannot be written to a file.
3. Run: Yum clean all
Open "Add/Remove software" and wait for it to search for the installation package to start adding/deleting the package.Program. If no content is displayed for the category, Run "system-> refresh..." to display the corresponding software.