Fedora8i386 add and delete programs using local iso

Source: Internet
Author: User
& Nbsp; Step 1: First mount the iso file to the virtual drive: mount-oloop-tiso9660/mnt/cdrom note: 1. will replace with the address of your iso file such as/Fedora-8-i386.iso2. if you/mnt does not have the cdrom directory, you can create a new folder named "cdrom 2 ".  

Step 1: First mount the iso file to a virtual optical drive:

Mount-o loop-t iso9660/mnt/cdrom

Note:

1. replace with the address of your iso file such as/Fedora-8-i386.iso

2. if you/mnt do not have the cdrom directory, you can create a new folder named cdrom.

Step 2: modify the location of the yum repository file:

Because Fedora's "Add/Remove Software" seems to have integrated some functions similar to yum. Every time you open it, it will search for the list of installation packages online. it will take a while (super annoying ). If you don't want it to search online, but simply add or delete software locally, you need to adjust the location of the yum repository file. That is, to back up the files in/etc/yum. repos. d/to another place. I chose to create a directory in the directory and place it.

Create a file with the. repo extension. Note that the file is stored in the directory of/etc/yum. repos. d. For example, I am CDROM. repo, and the path is/etc/yum. repos. d/CDROM. repo. the content is as follows:

[Core] Note: it must not be changed here; otherwise, a software Baotou Download error may occur.

Name = CDROM

Baseurl = file: // mnt/cdrom note: Here is the path to attach your CD

Enabled = 1

Gpgcheck = 1

Gpgkey = file: // mnt/cdrom/RPM-GPG-KEY note: Here is the authentication file that specifies the RPM-GPG-KEY in the disc

Note: You must modify the remarks according to your location.

Okay. now you can safely open "Add/Remove Software. Wait a moment and wait for it to search for the installation package to start adding/deleting programs.

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.