A Package Manager, such as
yum is used by a user in order to install, update, upgrade or remove software packages in a Linux installation.
NOTE: Execute the following commands as
root user or using
Searching for Packages
A package group is a group of related packages under a unique Name and unique GroupID. Installing a group installs all the packages in the group.
A package repository is a package store, a place where packages are stored as files. It can be a service accessible through network or even a local folder.
The term “package repository” is also used to denote a file containing information on how to find those repositories containing the packages.
yum repositories can be found at
A yum repository is plain text file in ini file format with a
The file name of a
*.repo file may not contain spaces, e.g.
Normally there is more than one
*.repo files in the
Here is a sample of such a file:
NOTE: The keys
baseurl are mandatory.
NOTE: You may create a new repository by adding a
*.repo file in the
Yum Configuration File
yum uses a configuration file found at
/etc/yum.conf. That file contains options that have global effect on how
Yum Configuration Manager
yum-config-manager is tool for displaying
yum configuration and handling repositories.
It is easy to find extened information on internet regarding
yum. Hera are some links:
- CentOS 7