How To Configure YUM – Yellowdog Updater, Modified

 YUM is a Linux package management. It install package with their dependencies. It is an open source command-line package management utility for linux operating system using the RPM package manager.
The main function of yum is that it  allows automatic updates, package and dependency management on RPM – based distributions. 
It works with software repositories, which can be accessed locally or over a network. Now i am going to explain how to configure yum in linux step by step.

YUM can performs many operation such as:-

  • installing packages
  • deleting packages
  • listing installed packages
  • updating existing installed packages
  • listing available packages
The main configuration file of YUM is located in :-

The repository file of YUM located in :-

Configuration and process to create YUM :-

The steps by step process are given below – 
First copy Server from CD to /var/ftp/pub/

 After that install ftp through command given below –

 Install createrepo rpm through command given below –

 For creating repomd (xml-rpm-metadata) repository , run the command given below –

For creating a yum repository , first create a .repo file and insert details as given below. 

Disable gpgcheck . It is used for GPG signature check on package . It means it used to verify package is corrupt or not .

To remove all entries for currently enabled repositories from the cache , use command given below –

to show all repositories in your system, use command given below –

how to configure yum

In this short article , we have explained about how to configure yum.  Please subscribe to newsletter for updated articles. We will discuss about many other topics in next articles.