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.
something is wrong with your install then cause when open add/remove it should prompt you for root password and then continue on.
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.
Go to /etc and look for yum.conf and yum.repos.d (This is what I have in RHEL4--I'm guessing that Fedora is similar.
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).
name=Fedora Core $releasever - $basearch
(Sorry for too long message)
|All times are GMT -5. The time now is 02:34 AM.|