Linux Commands - yum (download, install, remove, update packages)
by
Jeremy Canfield |
Updated: May 14 2023
| Linux Commands articles
The yum command is used to perform a number of tasks.
- yum search (display information about a package)
- yum info (display information about a package)
- yum list (list installed and available packages)
- yum provides (determine the package that provides a file)
- yumdownloader (download a package)
- yum install (install a package)
- yum update (update a package)
- yum remove or yum erase (uninstall a package)
Alternatively, the Ansible yum module can be used to automate the process of managing packages.
Yum uses repos to obtain packages, such as /etc/yum.repos.d/Centos-Base.repo. To configure the repos that yum uses, refer to this article.
Did you find this article helpful?
If so, consider buying me a coffee over at