The quickest way to install RPM from a DVD-RedHat/Fedora

Source: Internet
Author: User

The quickest way to install RPM from a DVD-RedHat/Fedora

Many programs in the RedHat/Fedora installation CD are not installed by default. How can I install programs from the CD without connecting to the network? The most convenient method from the bugzilla of redhat is as follows.

Attach the CD. Ensure that the/dist is writable.
Mkdir-p/dist/dvd
Mount/dev/cdrom/dist/dvd
Install createrepo
Rpm-ivh createrepo-0.4.4-2.fc6.noarch.rpm
Create repo data
Cd/dist
Createrepo.
Yum clean all
Update the yum configuration file/etc/yum. repos. d/dvd. repo as follows:

[Cdrom]
Name = cdrom
Baseurl = file: // media/rhel
Gpgkey = file: // media/rhel/dvd/RPM-GPG-KEY-redhat-release
Now, you can freely install things on the DVD, such
Yum list
Yum install vim-X11.i386

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.