Overview
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.Yum Package Installation
Installation of packages is one main features of YUM.Install Package Await Confirmation
To install a package run the command; after verifying dependencies yum will wait for confirmation before downloading and installation of the package, run the command;
yum install epel-release -q
Install Package Suppress Confirmation
Each time when you perform package administration, yum will wait for confirmation before removal / installation / update, in order to override this option and install a package, run the command;yum install epel-release -y
Show Duplicates Packages
Yum also lists packages of duplicate packages, its useful when you want to install a specific version of a package.yum --showduplicates list java-1.7.0-openjdk-devel -q
Install Specific Package Version
To install a specific version of a package, run the command;yum --showduplicates list php-gd -q
yum install php-gd-5.4.16-36.el7_1 -q
No comments:
Post a Comment