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.
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 failovermethod=priority baseurl=file:///home/gopal/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 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.