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

 

转自:http://www.labtestproject.com/using_linux/install_software_from_fedora_installation_dvd

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值