Install software from fedora 11 dvd
Install Softwares from Fedora 11 DVD
To install and update software packages on Fedora system we do need connection to the internet and some of us do not have the luxury of fasters internet connection. So, here is a step by step instruction for installing softwares from fedora 11 dvd.
Install from Fedora 11 DVD
1) Open Fedora 11 x terminal, (Applications -> System Tools -> Terminal)
2) Become the root user and execute the su command as shown below
Code:
[fedora11@localhost ~]$ su -
Password:
[root@localhost ~]#
3) List the file inside yum repo config directory. You can use ll command or ls -l command, both will display the same result.
Quote:
[root@localhost ~]# ll /etc/yum.repos.d/
total 16
-rw-r--r--. 1 root root 1785 2009-05-11 18:45 fedora-rawhide.repo
-rw-r--r--. 1 root root 1144 2009-05-11 18:45 fedora.repo
-rw-r--r--. 1 root root 1105 2009-05-11 18:45 fedora-updates.repo
-rw-r--r--. 1 root root 1163 2009-05-11 18:45 fedora-updates-testing.repo
[root@localhost ~]#
4) Just copy the existing yum configuration file fedora.repo and name the copied file as fedora-dvd.repo or as you wish, see the command below
Quote:
[root@localhost ~]# cp -pr /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora-dvd.repo
[root@localhost ~]#
5) Check it with ll command as shown below. It is always better to check
Code:
[root@localhost ~]# ll /etc/yum.repos.d/
total 20
-rw-r--r--. 1 root root 1144 2009-05-11 18:45 fedora-dvd.repo
-rw-r--r--. 1 root root 1785 2009-05-11 18:45 fedora-rawhide.repo
-rw-r--r--. 1 root root 1144 2009-05-11 18:45 fedora.repo
-rw-r--r--. 1 root root 1105 2009-05-11 18:45 fedora-updates.repo
-rw-r--r--. 1 root root 1163 2009-05-11 18:45 fedora-updates-testing.repo
[root@localhost ~]#
6) Edit the fedora-dvd.repo file as shown below.
Code:
[root@localhost ~]# gedit /etc/yum.repos.d/fedora-dvd.repo &
[1] 7504
[root@localhost ~]#
Quote:
# fedora-dvd.repo
# Use this repo if you want to install/add package from Fedora 11 installation DVD
# that usually automount when you insert the installation DVD.
# This repo only useful when you don't have internet connection to install
# package from internet.
# To use this repo, insert the Fedora 11 installation DVD, let the system
# mount the DVD (automount)
# Then execute yum --disablerepo=\* --enablerepo=fedora-dvd [command]
# Command example => yum --disablerepo=\* --enablerepo=fedora-dvd install gcc*
# This repo tune by labtestproject.com
[fedora-dvd]
name=Fedora-dvd $releasever - $basearch
failovermethod=priority
baseurl=file:///media/Fedora%2011%20i386%20DVD/
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
7) Save the file and quit.
Re: Install software from fedora 11 dvd
Install software on fedora system
1) Insert the Fedora 11 installation DVD on your DVD rom drive, let the system auto moutn the DVD.
2) Before executing yum command it is better to clean up the yum cache.
Code:
[root@localhost ~]# yum clean all
Loaded plugins: refresh-packagekit
Cleaning up Everything
[root@localhost ~]#
3) To start installation from fedora 11 dvd, execute the following command. check this command carefully.
Code:
[root@localhost ~]# yum --disablerepo=\* --enablerepo=fedora-dvd install gcc*