0

These Methods including the modern YUM installation Methods. The Yellowdog Updater Modifier (yum) is an open-source command-line package-management utility for Linux operating systems using the RPM Package Manager in Fedora .YUM is a software package manager that installs, updates, and removes packages on RPM-based systems. It automatically computes the software present in the repo by using Yum installer in installs modify upgrade the software’s present in Fedora . This How to guide tech you that how to create Fedora DVD repo (repository) and install software by using yum through off-line method this method does not require any type of internet connection,by following step by step method to initialize the command properly for package installation.

Step-I (Insert the Fedora-DVD)
Step-II (Create the fedora Directory)
# mkdir /home/techbrown/fedora
Step-III (Copy all content from Fedora-DVD to the fedora Directory)
# cp -rv /run/media/techbrown/Fedora\ 20\ i386/ /home/techbrown/fedora/
Step-IV (Installation of Createrepo Package from Fedora DVD)
# cd /run/media/techbrown/Fedora\ 20\ i386/Packages/c/
# rpm -ivh createrepo-0.9.9-22.fc20.noarch.rpm
Step-V (Create the Local Repositories files using createrepo command)
# createrepo -g /run/media/techbrown/Fedora\ 20\ i386/repodata/repomd.xml /home/gopal/fedora/
Step-VI (Delete all other Repositories present in yum.repos.d Directory)
# rm -r /etc/yum.repos.d/*
Step-VII (Creation of  Local Repositories)
# vi /etc/yum.repos.d/fedoradvd.repo
Add the given lines to the repo file
name=FedoraDVD $releasever - $basearch
failovermethod=priority
baseurl=file:///home/techbrown/fedora/
arch=$basearch
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
SAVE AND QUIT using command :wq
Step-VIII (Enabling the Local Repositories)
# yum clean all
# yum update
Step-IX (Installation of Offline Software’s/Applications using YUM)
# yum install squid

That’s all for now.

How to Install PCSX2 on Ubuntu / Linux Mint

Previous article

How to Install VLC Media Player on CentOS / RHEL

Next article

You may also like

Comments

Leave a reply

Your email address will not be published. Required fields are marked *

More in Linux