yum package manager
yum (Yellowdog Updater, Modified) is a command-line package manager for RPM-based Linux distributions such as CentOS, Red Hat, and Fedora. yum enables you to install a package and all its dependencies, delete a package, upgrade existing packages, search for packages, etc. The syntax of the yum command is:
yum [OPTIONS] [COMMAND] [PACKAGE]
To install a new package using yum, use the yum install command, along with the name of the package. For example, to install the net-tools package, we would use the yum install net-tools command:
To update a package to the latest version, use the yum update command, along with the name of the package:
To display information about an installed package, use the yum info command and the name of the package:
To search for a specific package, use the yum search command, along with the keyword that will be searched for. The search command will search package names, summaries, packagers, and descriptions for the keyword you provide:
To remove a package, use the yum remove command. For example, to remove the net-tools package we have installed previously, we would use the yum remove net-tools command: