Configure Local YUM Repository on Fedora 20

How Enable Local Repositories & Installation of Offline Software’s/Applications using YUM on Fedora 20/19/18/17/16/15. 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 20/19/18/17/16/15.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 20/19/18/17/16/15. This How to guide tech you that how to create FedoraDVD 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.

Introduction to the YUM

Yum(Yellowdog Updater Modifier) is an automatic updater and package installer/remover for revolutions per minute systems. It mechanically computes dependencies and figures out what things ought to occur to put in packages. It makes it easier to keep up teams of machines while not having to manually update every one mistreatment revolutions per minute.

Yum includes a plugin interface for adding straightforward options. Yum also can be used from different python programs via its module interface. data regarding packages as opposition the packages themselves is understood as information. These information ar combined with data in every package to see and resolve, if possible dependencies among the packages. The hope is to avoid a state of affairs referred to as dependency hell.

A separate tool, createrepo, sets up yum package repositories, generating the mandatory information during a normal XML format and the SQLite information if given the -d option. Yum’s XML repository, designed with input from several different developers, quickly became the quality for RPM-based repositories.

Besides the distributions that use Yum directly and also the Open Build Service repositories use the yum XML repository format information.Yum mechanically synchronizes the remote meta information to the native consumer, with different tools opting to synchronize only if requested by the user. Having automatic synchronization means yum cannot fail because of the user failing to run a command at the right interval to yum or any of the connected tools.

Enable Local Repositories & Installation of Offline Software’s/Applications using YUM on Fedora 20

Step-I (Insert the Fedora-DVD)
Step-II (Create the fedora Directory)
# mkdir /home/gopal/fedora
Step-III (Copy all content from Fedora-DVD to the fedora Directory)
# cp -rv /run/media/gopal/Fedora\ 20\ i386/ /home/gopal/fedora/
Step-IV (Installation of Createrepo Package from Fedora DVD)
# cd /run/media/gopal/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/gopal/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
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

Final Result

That`s all now, you have Enable Local Repo & Install Offline Apps Using YUM on Fedora 20.You’re now ready to use the offline yum installer on your systems. Just Boot to the Fedora 20 and see the action of the yum command. Ensure that the yum is integrate perfectly with the Fedora 20 systems.Enjoy the installation and run of offline software installation files and software’s using yum on your system. Any difficulties regarding the installation and configuration use the comment section below.

Related Post

Develop New SysAdmin Skills with E-books (FREE Download)