Information about the package, yum, which is shipped with common Linux distributions. The yum package is designed for, RPM package installer/updater/manager.
Package Name:
yum
Summary:
RPM package installer/updater/manager
Description:
Yum is a utility that can check for and automatically download and install updated RPM packages. Dependencies are obtained and downloaded automatically, prompting the user for permission as necessary.
Architecture:
noarch
Version:
3.2.29
Release:
81.el6.centos
Size:
4.6 M
Repository:
installed
From Repository:
base
Licence:
GPLv2+
Control the yum package with the following handy commands outlined below.
yum install yum
This command will install yum on the server.
yum remove yum
This command will un-install yum on the server. When you run this command, you will be asked if you are sure that you want to remove yum, so you have to manually confirm that you want to do this.
yum -y remove yum
This command will un-install yum on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove yum when using the -y flag.
yum update yum
This command will update yum to the latest version. When you run this command, you will be asked if you are sure that you want to remove yum, so you have to manually confirm that you want to do this.
yum -y update yum
This command will update yum to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove yum when using the -y flag.
yum info yum
This command will show you core information about the yum package.
yum deplist yum
This command will show you the dependencies for yum. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update yum
This command will check if there is an update waiting on yum. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.