yum
SystemFundamentalsReference onlyPackage manager for CentOS/RHEL (older)
Name: yum = Yellowdog Updater, Modified
This command is outside what the site lets you practise (mostly distribution-specific or rarely used tools). This page describes how to use it; try it on your own Linux system.
Description
yum is the package manager of older Red Hat family systems such as CentOS 7 and RHEL 7, built on rpm, installing from repositories with dependency resolution. Newer releases replaced it with dnf, and yum is usually just a link to it.
Syntax
yum [OPTION]... COMMANDCommon options
| install / remove | Install / remove |
| update | Update packages |
| search | Search |
| info | Show a package’s details |
| list installed | List installed packages |
| provides | Which package provides a file, e.g. yum provides /usr/bin/dig |
| -y | Answer yes to every question |
Examples
$ sudo yum install httpd
Install Apache
Explain