1. How To Use Yum Interactive Shell
i | P a g e
Table of Contents
Overview.......................................................................................................................................................1
Applies To......................................................................................................................................................1
Yum Options..................................................................................................................................................1
Interactive Yum Shell ....................................................................................................................................1
Install Package...........................................................................................................................................1
Remove Package.......................................................................................................................................1
Yum Shell Commands ...............................................................................................................................2
2. How To Use Yum Interactive Shell
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 with 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 Use Yum Interactive Shell
1 | P a g e
Interactive Yum Shell
Alternate method of managing package(s) is “yum shell”, to launch yum interactive shell run the
command;
yum shell
Install Package
To install a package after launching the interactive shell, execute command install with package name and
invoke run command, as shown below;
install psacct
Remove Package
To remove a package in yum shell, execute command remove with package name and invoke run
command, as shown below;
remove psacct
To exit from the yum shell, execute “quit” command;
> quit
4. How To Use Yum Interactive Shell
2 | P a g e
Yum Shell Commands
To perform other yum shell actions, execute the commands as per the below table;
Yum Action Yum shell command
Install Package install <Package Name> & run
Search Package search <Package Name>
List Package list <Package Name>
Erase Package remove <Package Name> & run
Update Package update <Package Name> & run