Install software from Fedora installation DVD.

 

Install software from Fedora installation DVD using Add/Remove software package manager.

 

   This article show the step by step configure the Add/Remove Software package manager on Fedora.  The step by step below focusing on updating or adding software from Fedora installation DVD after the Fedora installation process complete.  This process only useful if your Fedora have not connected to the internet or don't have internet connection, and you want to add more software from Fedora installation DVD.

 

The error massage that you usually get when you open Package Manager when Fedora not connected to internet.

 

Unable to retrieve software information.  This could be cause by not having a network connection available.

 

Unable to retrieve software information

Unable to retrieve software information.  This could be cause by not having a network connection available.

 

Make directory and mount Fedora installation DVD.

 

   The command below show the step by step of making directory on Fedora system and then mount the Fedora installation DVD.

 

[root@fedora ~]# mkdir /media/dvd-rom

[root@fedora ~]#

 

[root@fedora ~]# mount /dev/cdrom /media/dvd-rom/

mount: block device /dev/cdrom is write-protected, mounting read-only

[root@fedora ~]#

 

[root@fedora ~]# ls /media/dvd-rom/

discinfo.old README-BURNING-ISOS-en_US.txt RPM-GPG-KEY-fedora-rawhide

fedora.css RELEASE-NOTES-en_US.html RPM-GPG-KEY-fedora-test

GPL repodata RPM-GPG-KEY-rawhide

images RPM-GPG-KEY stylesheet-images

isolinux RPM-GPG-KEY-beta TRANS.TBL

Packages RPM-GPG-KEY-fedora

[root@fedora ~]#

 

Backup and edit the yum repo file.

 

   The step by step process below show the process editing the yum repos.  The backend of Add/Remove Software package managers is YUM.  To make sure that the package manager use the installation DVD as source of the software that we want to add or remove we need to edit the Fedora repo files.  The default setting of YUM repos is to find the latest software for the system on the internet.

 

1. change directory and list the directory contents.

 

[root@fedora ~]# cd /etc/yum.repos.d/

[root@fedora yum.repos.d]#

 

[root@fedora yum.repos.d]# ls

fedora-development.repo fedora.repo fedora-updates.repo fedora-updates-testing.repo

[root@fedora yum.repos.d]#

 

2. Make backup of repo file.

 

[root@fedora yum.repos.d]#

[root@fedora yum.repos.d]# cp fedora.repo fedora.repo.bak

[root@fedora yum.repos.d]#

 

[root@fedora yum.repos.d]# ls

fedora-development.repo fedora.repo fedora.repo.bak fedora-updates.repo fedora-updates-testing.repo

[root@fedora yum.repos.d]#

 

3. Open files to edit using gedit editor.

 

edit fedora repo

 

[root@fedora yum.repos.d]# gedit fedora.repo &

[1] 9173

[root@fedora yum.repos.d]#

 

Example of fedora.repo files.

 

   Edit the fedora.repo as shown on the example below to point to Fedora DVD, take note that the baseurl is the mount point of the Fedora installation DVD.  To the easiest way to get the baseurl of Fedora installation disc on your system, use the web browser (e.g. Firefox) to browse the Fedora installation disc mount point directory

 

edit the fedora repo using gedit

 

fedora.repo

------------

[fedora]

name=Fedora $releasever - $basearch

baseurl=file:///media/dvd-rom/

#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/

#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

-------------------

 

Note: make sure that you put the # to comment the the unwanted line.

 

Start Add Sofware.

 

   Save  fedora.repo file and then exit,  now its time to open the Add/Remove Software application by clicking on Application on menu bar and then click the Add/Remove Software button, you can start to add software or remove software package to or from your Fedora system.  Good luck... 

 

Keywords: install fedora software, add software from installation dics, install from installation dvd fedora, install software from installation dvd fedora, using addremove software, update from installation dvd, add from installation dvd, add software from fedora dvd after install

 

2 comments

11
Jun

Hi, My dvd rom is mounted

Hi, My dvd rom is mounted in /media/Fedora 9 i386 DVD/ so I put the following line instead: baseurl=file:///media/Fedora $releasever $basearch DVD/ but when I invoke command 'sudo yum install blah blah blah' the following message shows up : Options Error: Error parsing 'file:///media/Fedora 9 i386 DVD/': URL must be http, ftp, file or https not "" Any ideas ? Regards, Setya
11
Jun

Overcome the auto mount

Fedora now days, have the automount features, every times we insert the cd, the system will auto mount the cd contents to some path in /media directory...

My way...

1. insert the cd.. let automount finish their work... then

2. umount cd #umount /dev/cdrom

3. mount back the cd

#mount /dev/cdrom /media/dvd-rom/

(* base on the article above)

4. edit the repo to

baseurl=file:///media/dvd-rom/

(* base on the article above)

5. try run yum again... if still not work try to disable other repo first, then clean yum with this command

#yum clean all

*hope this can help

aaaaaaaaaaa