SlideShare a Scribd company logo
How To Manage Yum Repositories
i | P a g e
Table of Contents
Overview.......................................................................................................................................................1
Applies To......................................................................................................................................................1
Yum Options..................................................................................................................................................1
Managing Yum Repositories .........................................................................................................................1
List Enabled Yum Repositories..................................................................................................................1
List Disabled Yum Repositories.................................................................................................................1
List Enabled and Disabled Yum Repositories............................................................................................2
Install Package from Specific Repository ..................................................................................................2
How To Manage Yum Repositories
1 | P a g e
Overview
The purpose of this guide is to know the usage of YUM (Yellowdog updater modified). It is an automatic
updater and package installer/remover for rpm system(s).
One of the main features, it automatically identifies dependencies and ensures as to what packages
needs to be installed to complete requested package installation.
You can also utilize yum to install a group of packages, one of such group is “Development Tools”.
Yum has a plugin interface for adding simple features. Yum can also be used python programs via its
module interface.
yum clean, cache option will help in managing the disk space at regular intervals on the system.
Applies To
 Linux flavor where yum is installed
 Tested on CentOS 7, RHEL 7
Yum Options
Yum command has different options for performing different type of package administration, some of
major commands are discussed here.
How To Manage Yum Repositories
1 | P a g e
Managing Yum Repositories
Repositories are sources location wherein yum lookup’s when you query, install, list, remove package(s).
List Enabled Yum Repositories
To list enabled yum repositories, run the command;
yum repolist enabled
List Disabled Yum Repositories
To list disabled yum repositories, run the command;
yum repolist disabled
How To Manage Yum Repositories
2 | P a g e
List Enabled and Disabled Yum Repositories
To list all, irrespective of whether its enabled or disabled repositories, run the command;
yum repolist all
Install Package from Specific Repository
To install package from a specific repository, run the command;
yum --enablerepo=epel install clamav -y
yum list installed | grep -e 'clamav'

More Related Content

PDF
How To List YUM Packages
VCP Muthukrishna
 
PDF
How To Manage Yum Packages - Group Packages
VCP Muthukrishna
 
PDF
How To Manage Yum History
VCP Muthukrishna
 
PDF
How To Yum Package Installation
VCP Muthukrishna
 
PDF
How To Manage Yum Cache
VCP Muthukrishna
 
PDF
How To Manage Yum Packages Interactive Shell
VCP Muthukrishna
 
PDF
Install Active Directory PowerShell Module on Windows 10
VCP Muthukrishna
 
PDF
How to Fix Duplicate Packages in YUM on CentOS 7
VCP Muthukrishna
 
How To List YUM Packages
VCP Muthukrishna
 
How To Manage Yum Packages - Group Packages
VCP Muthukrishna
 
How To Manage Yum History
VCP Muthukrishna
 
How To Yum Package Installation
VCP Muthukrishna
 
How To Manage Yum Cache
VCP Muthukrishna
 
How To Manage Yum Packages Interactive Shell
VCP Muthukrishna
 
Install Active Directory PowerShell Module on Windows 10
VCP Muthukrishna
 
How to Fix Duplicate Packages in YUM on CentOS 7
VCP Muthukrishna
 

What's hot (20)

PDF
VMWare Tools Installation and Troubleshooting Guide
VCP Muthukrishna
 
PDF
How to Manage journalctl Logging System on RHEL 7
VCP Muthukrishna
 
PDF
How To View Current Execution Policy PowerShell
VCP Muthukrishna
 
PDF
How To Manage Linux User on RHEL 7
VCP Muthukrishna
 
PDF
How To Install and Configure Chrony on RHEL 7
VCP Muthukrishna
 
PDF
How To Add DVD ISO to YUM Repository in CentOS 6
VCP Muthukrishna
 
PDF
How to Troubleshoot SELinux Audit2Allow unable to open (null)
VCP Muthukrishna
 
PDF
How to Change Hostname in CentOS 7 or RHEL 7
VCP Muthukrishna
 
PDF
How To Install and Configure GNome on CentOS 7
VCP Muthukrishna
 
PDF
Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...
VCP Muthukrishna
 
PDF
How to Upgrade Openfire on CentOS 7
VCP Muthukrishna
 
PDF
How To Manage Services on RHEL 7 or CentOS 7
VCP Muthukrishna
 
PDF
Install and Configure RSyslog – CentOS 7 / RHEL 7
VCP Muthukrishna
 
PDF
DNF Failed To Open Cache
VCP Muthukrishna
 
PDF
How To Check file exists and Delete PowerShell
VCP Muthukrishna
 
PDF
How To Install OpenFire in CentOS 7
VCP Muthukrishna
 
PDF
How to Install and Configure Cacti on Linux
VCP Muthukrishna
 
PDF
How To Install and Configure Screen on CentOS 7
VCP Muthukrishna
 
PDF
How To Create PowerShell Function
VCP Muthukrishna
 
PDF
How To Install and Configure SNMP on RHEL 7 or CentOS 7
VCP Muthukrishna
 
VMWare Tools Installation and Troubleshooting Guide
VCP Muthukrishna
 
How to Manage journalctl Logging System on RHEL 7
VCP Muthukrishna
 
How To View Current Execution Policy PowerShell
VCP Muthukrishna
 
How To Manage Linux User on RHEL 7
VCP Muthukrishna
 
How To Install and Configure Chrony on RHEL 7
VCP Muthukrishna
 
How To Add DVD ISO to YUM Repository in CentOS 6
VCP Muthukrishna
 
How to Troubleshoot SELinux Audit2Allow unable to open (null)
VCP Muthukrishna
 
How to Change Hostname in CentOS 7 or RHEL 7
VCP Muthukrishna
 
How To Install and Configure GNome on CentOS 7
VCP Muthukrishna
 
Zimbra Troubleshooting - Mails not being Delivered or Deferred or Connection ...
VCP Muthukrishna
 
How to Upgrade Openfire on CentOS 7
VCP Muthukrishna
 
How To Manage Services on RHEL 7 or CentOS 7
VCP Muthukrishna
 
Install and Configure RSyslog – CentOS 7 / RHEL 7
VCP Muthukrishna
 
DNF Failed To Open Cache
VCP Muthukrishna
 
How To Check file exists and Delete PowerShell
VCP Muthukrishna
 
How To Install OpenFire in CentOS 7
VCP Muthukrishna
 
How to Install and Configure Cacti on Linux
VCP Muthukrishna
 
How To Install and Configure Screen on CentOS 7
VCP Muthukrishna
 
How To Create PowerShell Function
VCP Muthukrishna
 
How To Install and Configure SNMP on RHEL 7 or CentOS 7
VCP Muthukrishna
 
Ad

Viewers also liked (6)

PDF
How To Install and Configure AWS CLI for Windows
VCP Muthukrishna
 
PDF
How to Install Configure and Use sysstat utils on RHEL 7
VCP Muthukrishna
 
PDF
How To Install and Use ABRT CLI on RHEL 7
VCP Muthukrishna
 
PDF
How To Reset root Password on CentOS 7
VCP Muthukrishna
 
PDF
How To View Login History and Logout History on RHEL 7
VCP Muthukrishna
 
PDF
Shell Script Disk Usage Report and E-Mail Current Threshold Status
VCP Muthukrishna
 
How To Install and Configure AWS CLI for Windows
VCP Muthukrishna
 
How to Install Configure and Use sysstat utils on RHEL 7
VCP Muthukrishna
 
How To Install and Use ABRT CLI on RHEL 7
VCP Muthukrishna
 
How To Reset root Password on CentOS 7
VCP Muthukrishna
 
How To View Login History and Logout History on RHEL 7
VCP Muthukrishna
 
Shell Script Disk Usage Report and E-Mail Current Threshold Status
VCP Muthukrishna
 
Ad

Similar to How To Manage Yum Repositories (20)

PDF
Linux packege manager
Md Meherab Hossen
 
PDF
Linux packege manager
InfoExcavator
 
PDF
Yum package manager
LinuxConcept
 
PPTX
6 - Package Management in Red Hat
Shafaan Khaliq Bhatti
 
PDF
12 yum
Aprende Viendo
 
PDF
Install and Update Software - RHCSA (RH124).pdf
RHCSA Guru
 
PDF
package mangement
ARYA TM
 
PPTX
RPM (LINUX)
Raghu nath
 
PPTX
Software management in linux
nejadmand
 
PPTX
Linux apache server
Khoa Quach
 
PPTX
Linux System Administration
Jayant Dalvi
 
PPT
101 2.5 use rpm and yum package management
Acácio Oliveira
 
PDF
Puppet Camp LA 2/19/2015
ice799
 
PDF
Puppet Camp LA 2015: Package Managers and Puppet (Beginner)
Puppet
 
PPT
101 2.5 use rpm and yum package management
Acácio Oliveira
 
PPT
101 2.5 use rpm and yum package management
Acácio Oliveira
 
PPT
2.5 use rpm and yum package management
Acácio Oliveira
 
PDF
Package Management and Chef - ChefConf 2015
Chef
 
PDF
Chef Conf 2015: Package Management & Chef
ice799
 
Linux packege manager
Md Meherab Hossen
 
Linux packege manager
InfoExcavator
 
Yum package manager
LinuxConcept
 
6 - Package Management in Red Hat
Shafaan Khaliq Bhatti
 
Install and Update Software - RHCSA (RH124).pdf
RHCSA Guru
 
package mangement
ARYA TM
 
RPM (LINUX)
Raghu nath
 
Software management in linux
nejadmand
 
Linux apache server
Khoa Quach
 
Linux System Administration
Jayant Dalvi
 
101 2.5 use rpm and yum package management
Acácio Oliveira
 
Puppet Camp LA 2/19/2015
ice799
 
Puppet Camp LA 2015: Package Managers and Puppet (Beginner)
Puppet
 
101 2.5 use rpm and yum package management
Acácio Oliveira
 
101 2.5 use rpm and yum package management
Acácio Oliveira
 
2.5 use rpm and yum package management
Acácio Oliveira
 
Package Management and Chef - ChefConf 2015
Chef
 
Chef Conf 2015: Package Management & Chef
ice799
 

More from VCP Muthukrishna (20)

PDF
How To Connect to Active Directory User Validation
VCP Muthukrishna
 
PDF
How To Connect To Active Directory PowerShell
VCP Muthukrishna
 
PDF
How To List Files on Remote Server - PowerShell
VCP Muthukrishna
 
PDF
How To List Files and Display In HTML Format
VCP Muthukrishna
 
PDF
How To Check and Delete a File via PowerShell
VCP Muthukrishna
 
PDF
How To Setup SSH Keys on CentOS 7
VCP Muthukrishna
 
PDF
How To Install and Configure Open SSH Server on Ubuntu
VCP Muthukrishna
 
PDF
Windows PowerShell Basics - How To List PSDrive Info
VCP Muthukrishna
 
PDF
How To List Nginx Modules Installed / Complied on CentOS 7
VCP Muthukrishna
 
PDF
Windows PowerShell Basics – How To Create powershell for loop
VCP Muthukrishna
 
PDF
How To Construct IF and Else Conditional Statements
VCP Muthukrishna
 
PDF
How To Create PowerShell Function Mandatory Parameter and Optional Parameter
VCP Muthukrishna
 
PDF
How To Create Power Shell Function Mandatory Parameter Value
VCP Muthukrishna
 
PDF
How To Disable IE Enhanced Security Windows PowerShell
VCP Muthukrishna
 
PDF
How To Check IE Enhanced Security Is Enabled Windows PowerShell
VCP Muthukrishna
 
PDF
How To Configure Nginx Load Balancer on CentOS 7
VCP Muthukrishna
 
PDF
Nginx bind() to 0.0.0.0:9080 failed
VCP Muthukrishna
 
PDF
How To Install and Configure Salt Master on Ubuntu
VCP Muthukrishna
 
PDF
How To Protect SSH Access with Fail2Ban on RHEL 7
VCP Muthukrishna
 
PDF
How To Configure SNMP Logging on RHEL 7
VCP Muthukrishna
 
How To Connect to Active Directory User Validation
VCP Muthukrishna
 
How To Connect To Active Directory PowerShell
VCP Muthukrishna
 
How To List Files on Remote Server - PowerShell
VCP Muthukrishna
 
How To List Files and Display In HTML Format
VCP Muthukrishna
 
How To Check and Delete a File via PowerShell
VCP Muthukrishna
 
How To Setup SSH Keys on CentOS 7
VCP Muthukrishna
 
How To Install and Configure Open SSH Server on Ubuntu
VCP Muthukrishna
 
Windows PowerShell Basics - How To List PSDrive Info
VCP Muthukrishna
 
How To List Nginx Modules Installed / Complied on CentOS 7
VCP Muthukrishna
 
Windows PowerShell Basics – How To Create powershell for loop
VCP Muthukrishna
 
How To Construct IF and Else Conditional Statements
VCP Muthukrishna
 
How To Create PowerShell Function Mandatory Parameter and Optional Parameter
VCP Muthukrishna
 
How To Create Power Shell Function Mandatory Parameter Value
VCP Muthukrishna
 
How To Disable IE Enhanced Security Windows PowerShell
VCP Muthukrishna
 
How To Check IE Enhanced Security Is Enabled Windows PowerShell
VCP Muthukrishna
 
How To Configure Nginx Load Balancer on CentOS 7
VCP Muthukrishna
 
Nginx bind() to 0.0.0.0:9080 failed
VCP Muthukrishna
 
How To Install and Configure Salt Master on Ubuntu
VCP Muthukrishna
 
How To Protect SSH Access with Fail2Ban on RHEL 7
VCP Muthukrishna
 
How To Configure SNMP Logging on RHEL 7
VCP Muthukrishna
 

Recently uploaded (20)

PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
BLW VOCATIONAL TRAINING SUMMER INTERNSHIP REPORT
codernjn73
 

How To Manage Yum Repositories

  • 1. How To Manage Yum Repositories i | P a g e Table of Contents Overview.......................................................................................................................................................1 Applies To......................................................................................................................................................1 Yum Options..................................................................................................................................................1 Managing Yum Repositories .........................................................................................................................1 List Enabled Yum Repositories..................................................................................................................1 List Disabled Yum Repositories.................................................................................................................1 List Enabled and Disabled Yum Repositories............................................................................................2 Install Package from Specific Repository ..................................................................................................2
  • 2. How To Manage Yum Repositories 1 | P a g e Overview The purpose of this guide is to know the usage of YUM (Yellowdog updater modified). It is an automatic updater and package installer/remover for rpm system(s). One of the main features, it automatically identifies dependencies and ensures as to what packages needs to be installed to complete requested package installation. You can also utilize yum to install a group of packages, one of such group is “Development Tools”. Yum has a plugin interface for adding simple features. Yum can also be used python programs via its module interface. yum clean, cache option will help in managing the disk space at regular intervals on the system. Applies To  Linux flavor where yum is installed  Tested on CentOS 7, RHEL 7 Yum Options Yum command has different options for performing different type of package administration, some of major commands are discussed here.
  • 3. How To Manage Yum Repositories 1 | P a g e Managing Yum Repositories Repositories are sources location wherein yum lookup’s when you query, install, list, remove package(s). List Enabled Yum Repositories To list enabled yum repositories, run the command; yum repolist enabled List Disabled Yum Repositories To list disabled yum repositories, run the command; yum repolist disabled
  • 4. How To Manage Yum Repositories 2 | P a g e List Enabled and Disabled Yum Repositories To list all, irrespective of whether its enabled or disabled repositories, run the command; yum repolist all Install Package from Specific Repository To install package from a specific repository, run the command; yum --enablerepo=epel install clamav -y yum list installed | grep -e 'clamav'