Installing more packages from a dvd after default installation
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installing more packages from a dvd after default installation
I installed fedora core5 from a dvd. I did not select the custom packages at the time of installation. Now i want to install KDE Desktop. How can i install more packages from the dvd. Add/ remove software does not open. It shows an error message like access denied.
i just read sumwhere that i have to change sumthing repositries. i read that when you open add/remove package then by default it tries to connect to the net. I have to change that path. i have to provide the path of the dvd in the place of that internet adress. That i don't know how.
The Fedora Add/Remove Program, “Pirut” uses the standard command line version of yum as the backend. Yum itself uses a set of repositories to search for components which are to be installed. In the recent releases of Fedora, default yum repositories are internet URLs, therefore, yum cannot work without internet connection. Some people would like to install some packages from the installation media (CD/DVD) without internet connection. For example you’ve just installed FC5 and now you decide to install MySQL from the installation DVD. One way is to copy .rpm files related to MySQL and all dependencies and then use rpm command from terminal to work it out. Another more modern solution is to edit yum repositories so that it does not need internet connection and at last use Add/Remove programs. The following steps describe how to do it. Remember! Before changing anything, make a back-up.
1. Creating DVD image from the installation DVD (you can do it with CDs too):
I think if you like to use Add/Remove programs; you are rather interested in windows approach than Linux command line approach. So, the recommended freeware for creating ISO images of DVDs is MagicISO. Copy the created ISO file to FC5 partitions.
2. Mounting the DVD image:
Use this command to mount DVD image to a dedicated directory:
# mount –o loop /dvd-images/FC5.iso /fedora-dvd
For auto-mounting you can edit /etc/fstab file to mount the DVD image automatically as the system boots.
3. Editing yum repositories:
Open file browser and locate /etc/yum-repos. There are some .repo files each containing records for introducing websites which are used as source for installing new components by yum. You must set enabled in all files and all records to ‘0’ except one in fedora core repository. The first ‘baseurl’ must be set as the address where the DVD image is mounted (/fedora-dvd).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.