Setup to Install software package from Fedora 10 DVD
Step by step setup to install or adding software package from Fedora 10 installation DVD
After you install the Fedora 10, you may need to add or install extra software that available on the Fedora 10 installation DVD. Make a note that the default source of adding or install software on Fedora is from the internet connection (e.g. Fedora update server). What if you don't have internet connection???.. Please note that Add/Remove Software will not work without internet connection. The article below show the step by step configuration and setup file need to edit in order to enable us to install software package from Fedora 10 installation DVD. To make sure that we can use Fedora 10 DVD as installation source, follow the step by step example below to edit fedora.repo and fedora-updates.repo file.. If you follow and use this step by step to install software from the Fedora 10 DVD, make a note that the software on Fedora 10 installation DVD may be outdated and you may need update your software from Fedora update server to get newer version of software package.
The step by step below show the repo file need to edit to point to Fedora 10 DVD as repos, and show step by step example to install software from Fedora 10 DVD.
1. Login on Fedora 10, open shell terminal, if you using the Gnome Desktop you will find terminal under Application -> System Tools -> Terminal.
2. If you cannot login as root user on Fedora 10, use the su - command to become root user on shell terminal as show on example below.
[fedora10@localhost ~]$ su -
Password: <--key in your root password here and hit enter key
[root@localhost ~]#
3. Change working directory to /etc/yum.repos.d/
[root@fedora ~]# cd /etc/yum.repos.d/
[root@fedora yum.repos.d]#
4. List file inside the yum repos directory.
[root@fedora yum.repos.d]# ls
fedora-rawhide.repo fedora-updates.repo
fedora.repo fedora-updates-testing.repo
[root@fedora yum.repos.d]#
5. It is recomended that you make backup for each file inside the /etc/yum.repos.d/ directory. The example below show the most simple backup method using cp command.
[root@fedora yum.repos.d]# cp -pr fedora.repo fedora.repo.bak
[root@fedora yum.repos.d]# cp -pr fedora-updates.repo fedora-updates.repo.bak
[root@fedora yum.repos.d]# cp -pr fedora-updates-testing.repo fedora-updates-testing.repo.bak
[root@fedora yum.repos.d]# cp -pr fedora-rawhide.repo fedora-rawhide.repo.bak
[root@fedora yum.repos.d]#
6. Then verify that all the repo file is backup using ls command.
[root@fedora yum.repos.d]# ls
fedora-rawhide.repo fedora.repo fedora-updates.repo fedora-updates-testing.repo
fedora-rawhide.repo.bak fedora.repo.bak fedora-updates.repo.bak fedora-updates-testing.repo.bak
[root@fedora yum.repos.d]#
Make Fedora 10 DVD repo
Usually if you insert the Fedora 10 installation DVD, the system mount the Fedora 10 DVD to something like /media/Fedora 10 i368 DVD. The procedure below show step to edit fedora.repo file to point to Fedora 10 installation DVD as the software package installation source (repo source).
1. Make sure that your Fedora 10 DVD is auto mount by the system when you insert the Fedora 10 installation DVD on the DVD drive. You can verify by checking on Computer properties and DVD icon on the Desktop, as show on figure below.
2. Use any text editor of your choice to edit the fedora.repo configuration file.
Add the line baseurl=file:///media/Fedora%2010%20i386%20DVD/ to enable the Fedora 10 DVD to be source of software package repo for Fedora software installation.
Make sure you disable #baseurl and #mirrorlist by put the # sign in front of the line
The example below use gedit editor to edit fedora.repo repo file.
[root@fedora yum.repos.d]# gedit fedora.repo &
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=file:///media/Fedora%2010%20i386%20DVD/
#baseurl=http://download.fedoraproject.org/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-$basearch
[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[root@fedora yum.repos.d]#
3. Then edit fedora-updates.repo, make sure that we disable the fedora-updates.repo from enabled=1 to enabled=0 as show on example below.
[root@fedora yum.repos.d]# gedit fedora-updates.repo &
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[root@fedora yum.repos.d]#
4. Then check the fedora-updates-testing.repo and fedora-rawhide.repo, make sure they also disable.
Install and Add software from Fedora 10 installation DVD
Now you can start to install software package from Fedora 10 DVD. The example below show the step by step using yum package management manager to install software package on Fedora 10, you also can choose yum manager or using graphical tools available Fedora 10 Administration menu.
Example on using yum manager to add software package from Fedora 10 DVD:
1. If you get yum error message, try to clean all yum cache first: The example below show the command to remove all yum cache.
[root@fedora yum.repos.d]# yum clean all
Loaded plugins: refresh-packagekit
Cleaning up Everything
[root@fedora yum.repos.d]#
2. Install software package on Fedora 10 using Fedora 10 DVD as software package repo:
[root@fedora yum.repos.d]# yum -y install squid*
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package squid.i386 7:3.0.STABLE10-1.fc10 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=================================================================================
Package Arch Version Repository Size
=================================================================================
Installing:
squid i386 7:3.0.STABLE10-1.fc10 fedora 1.6 M
Transaction Summary
=================================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.6 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : squid 1/1
Unable to send message to PackageKit
Installed:
squid.i386 7:3.0.STABLE10-1.fc10
Complete!
[root@fedora yum.repos.d]#
Keywords: setup install from dvd, install package from fedora 10 dvd, using fedora 10 dvd, install from fedora 10 dvd, fedora 10 dvd repo, using fedora 10 dvd as repo, install software using fedora 10 dvd, install package from fedora 10 dvd, install using Fedora 10 dvd
- 24903 reads
- Email this page
3 comments
problem
Submitted by valsesia on Fri, 05/29/2009 - 15:25.need more info
Submitted by matt on Sun, 05/31/2009 - 16:32.Thanks Dude it's working
Submitted by karthick (not verified) on Tue, 10/16/2012 - 06:10.Thanks Dude it's working