Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 11-01-2006, 11:56 PM   #1
LQ Newbie
Registered: Oct 2006
Location: Pakistan
Distribution: Fedora core5
Posts: 6

Rep: Reputation: 0
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.
Old 11-02-2006, 12:12 AM   #2
Registered: Dec 2004
Location: Benicia, CA
Distribution: Fedora 6,5,4 Mandrake 10.1
Posts: 46

Rep: Reputation: 15
something is wrong with your install then cause when open add/remove it should prompt you for root password and then continue on.
Old 11-02-2006, 01:04 PM   #3
LQ Newbie
Registered: Oct 2006
Location: Pakistan
Distribution: Fedora core5
Posts: 6

Original Poster
Rep: Reputation: 0
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.
Old 11-02-2006, 01:54 PM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.
Old 11-03-2006, 02:12 AM   #5
Sam The Damn
LQ Newbie
Registered: Nov 2006
Location: Iran, Tehran
Distribution: Fedora Core 5, 6
Posts: 1

Rep: Reputation: 0
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
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

(Sorry for too long message)


installing, packages

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is installing packages like Windows default? w3developing Linux - Newbie 3 10-29-2006 12:03 PM
having trouble installing packages from my DVD install disk ticks Linux - Software 6 04-15-2006 10:53 AM
Installing more packages etc (from DVD) degras Debian 1 07-05-2005 08:31 AM
Installing packages from a DVD NadJ Fedora 2 04-18-2005 10:12 PM
9.1 DVD installation isn't finding source packages during install KarmaEnforcer SUSE / openSUSE 1 04-16-2005 06:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration