Step by Step How to Enable Install Software Package from Fedora 11 DVD

 

Step by Step How to Enable Install Software Package from Fedora 11 DVD.

 

   Why using Fedora 11 installation DVD to installation software package on Fedora 11 system? and How to install package from Fedora 11 installation DVD?  The answer, to install and update software package on Fedora system we do need connection to the internet and some of us do not have the luxury of fasters internet connection... and the step by step article below show step by step to enable install software package using Fedora 11 DVD as the source of the software package.

 

Install from Fedora 11 DVD

 

   To start using yum command and to make sure that yum using the Fedora 11 as the installation source... we need to create fedora 11 DVD repo and adding the Fedora 11 installation DVD as the source of the Fedora software package repository.

 

1.  Open Fedora 11 x terminal, (Applications -> System Tools -> Terminal)

GNOME Fedora 11 x terminal

 

2.  Execute the su command as show on example below to and enter root user password to become as root user. 

 

[fedora11@localhost ~]$  su -

Password:

[root@localhost ~]#

 

3.  List the file inside yum repo configuration directory... you can use the ll command as show on example below or replace the ll command with ls -l command.

 

[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.  To make Fedora 11 using DVD as installation source... we need to create DVD repo file and edit this file to make the Fedora 11 DVD as the installation source.  To make life little bit easier,  just copy the existing yum configuration file fedora.repo and name the copied file as fedora-dvd.repo as show on command example below.

 

[root@localhost ~]# cp -pr /etc/yum.repos.d/fedora.repo /etc/yum.repos.d/fedora-dvd.repo

[root@localhost ~]#

 

5.  Execute command ll command as show on example below to verify that we already create the Fedora 11 DVD repo file (fedora-dvd.repo)

 

[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.  Execute command below to open and edit the fedora-dvd.repo configuration file using gedit editor... edit the configuration file.. rename the repo as "[fedora-dvd]", and "name=Fedora-dvd" add PATH to the Fedora 11 DVD "baseurl=file:///media/Fedora%2011%20i386%20DVD/" and enable the Fedora DVD repo file "enabled=1 "see... working example below... and then remove unwanted line from the fedora-dvd.repo configuration file.

 

[root@localhost ~]# gedit /etc/yum.repos.d/fedora-dvd.repo &

[1] 7504

[root@localhost ~]#

Fedora 11 DVD repo files

# 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 and exit the editor.

 

Install Software on Fedora system

 

   Before you can use and install software from the Fedora 11 installation DVD, you need to insert and let system automatically mount the Fedora 11 installation DVD on the system... and if your Fedora 11 system don't have connection to internet... you need to disable all other repo configuration file before you can use yum install command... or you can temporarily disable all other repo and using only the fedora-dvd.repo as show on yum install command example below

 

1.  Insert the Fedora 11 installation DVD on your DVD rom drive, let the system automount the DVD... and you should notice that the Fedora 11 installation DVD icon on Desktop appear after system finish automount the DVD.

Fedora 11 DVD

 

2.  Before execute yum commands and start install software from Fedora installation DVD... it is good idea to clean all yum cache file that have been store inside your Fedora system... just follow command as example below to start yum command to remove all yum cache files.

 

[root@localhost ~]# yum clean all

Loaded plugins: refresh-packagekit

Cleaning up Everything

[root@localhost ~]#

 

3.  To start to use Fedora installation DVD as installation source, execute yum command and temporary disable all other repo except Fedora DVD repo using the command that show on example below.  Change the gcc part to the software that you want to install in your box

 

[root@localhost ~]# yum --disablerepo=\* --enablerepo=fedora-dvd install gcc*

 

Command explanation: Execute yum command and then disable all repo files and then only enable Fedora DVD and then execute yum command to install package

   Execute yum command install softeare on Fedora 11

 

Keywords: install from fedora 11 dvd, install from dvd fedora 11, install software package from fedora 11 dvd, install software fedora 11, install package fedora 11, install software fedora 11, add package fedora 11, add software fedora 11

 

4 comments

2
Oct

repo in internet

I wrote from Ecuador. Thanks, I install from DVD with one change: [fedora-dvd] name=Fedora-dvd $releasever - $basearch failovermethod=priority ##baseurl=file:///media/Fedora 11 i386 DVD/ baseurl=file:///var/local/software/Fedora11/ this change because blank spaces are problem, then change to link from /var/local/software/Fedora11/ and resolve the issue. #mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch enabled=1 metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch With the same instructions, I change the fedora.repo for internet: [fedora] name=Fedora $releasever - $basearch failovermethod=priority baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/ mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch enabled=1 metadata_expire=7d gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch but when search /repodata/repomd.xml this error is present: Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora.Please verify its path and try again but address is correct. The problem is this: http://mirrors.hpcf.upr.edu/ftp/pub/Mirrors/redhat/download.fedora.redhat.com/linux/releases/11/Everything/i386/os/repodata/repomd.xml: the line finish with : and file not found. What I do? Henry Izurieta
14
Oct

yum clean all

1. try to clear yum cache files first
yum clean all

2. then try again with
yum update

6
Mar

help

how to download squid on fedora 14 and install/configure

7
Mar

install squid

install squid:
#yum -y squid*

and the rest look at
http://www.labtestproject.com/linnet/squid_proxy_server.html that might help

aaaaaaaaaaa