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.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
Insert Image
Remove Package
To remove a package in yum shell, execute command remove with package name and invoke run command, as shown below;remove psacct
Insert Image
To exit from the yum shell, execute “quit” command;
quit
Yum Shell Commands
To perform other yum shell actions, execute the commands as per the below table;Yum Action | Yum shell command |
---|---|
List Package | list <Package Name> & run |
Search Package | search <Package Name> & run |
Install Package | install <Package Name> & run |
Remove Package | remove <Package Name> & run |
Update Package | update <Package Name> & run |
No comments:
Post a Comment