Setting Up Yum Repositories in RedHat/CentOS Linux


title: Setting Up Yum Repositories in RedHat/CentOS Linux

YUM Repositories are warehouses of Linux software (RPM package files).

RPM package file is a Red Hat Package Manager file and enables quick and easy software installation on Red Hat/CentOS Linux.

Setting Up Yum Repositories in RedHat CentOS Linux

Step 1: Check if there are existing repositories or not.

#yum repolist

You will find there is no repositories.

Step 2: Change Directory to

#cd /etc/yum.repos.d

Step 3: Create new file

#vim myrepo.repo

Step 4: Type following lines in file

[file-name] name=filename baseurl="location of yum repositories" gpgcheck=0

Step 5: Save and Exit

Step 6: Repeat Step 1

You Will find repositories

This article needs improvement. You can help improve this article. You can also write similar articles and help the community.