Connect with us

Hi, what are you looking for?

Linux

How to Configure Local YUM Repository on Fedora

How Enable Local Repositories & Installation of Offline Software’s/Applications using YUM on Fedora . 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.

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

Final Result

That`s all now, you have Enable Local Repo & Install Offline Apps Using YUM on Fedora .You’re now ready to use the offline yum installer on your systems. Just Boot to the Fedora and see the action of the yum command. Ensure that the yum is integrate perfectly with the Fedora 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.

Comments
Advertisement
Advertisement

Linux

DNF stands Dandified YUM and this is the default package manager for RHEL 8 / CentOS 8.  This tutorial explains you how to create...

Linux

If you forget a root password of your RHEL 8 and CentOS 8 and want to reset the password so that the RHEL 8...

Windows

How to auto upgrade JioFi firmware for JioFi 2 / JioFi 3 / JioFi 4 / JioFi 5 / JioFi 6 and other JioFi...

Linux

How to Upgrade WordPress Server from Ubuntu 16.04 to Ubuntu 18.04. Right now, Ubuntu 18.04 has been released with tons of new features. Upgrading...

Linux

How to Enable TLS 1.3 on Nginx Web Server. Nginx is a ultra fast web server optimized for modern web applications and servers. TLS...

Advertisement

You May Also Like

Windows

How to auto upgrade JioFi firmware for JioFi 2 / JioFi 3 / JioFi 4 / JioFi 5 / JioFi 6 and other JioFi...

Windows

How to download and install the Mobile Intel 4 Series Express Chipset Graphics Drivers for Windows 10.  Windows 10 is the one of the...

Windows

Internet is the most important public network for connecting to the WEB. For internet connection requirement the ISP is required as well as it...

Windows

How to Install and Configure PCSX2 on Windows 10. The Windows 10 is the most recommended operating system for the Games. In stream platform...