Fedora 10 Add/delete software locally

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.