This Yum cheat sheet provides you with a quick and easy overview of all major Yum package manager commands and their respective functionality. Although it does not cover all the corners of the package manager, it provides with the most useful tools.
Install, uninstall & upgrade packages
Command
Functionality
Example command
install
Install a package from yum repository
sudo yum install nginx
remove
Remove an installed package and its dependencies from the system
sudo yum remove nginx
erase
Similar to remove command
sudo yum erase nginx
update
Update or or more packages on the system
sudo yum update or sudo yum update gcc
update-to
Update or or more packages to a specific version
sudo yum update-to ngingx-2.7-1.1
upgrade
update all packages to the latest version
sudo yum upgrade
reinstall
Reinstall current version of a specific package
sudo yum reinstall httpd
autoremove
Remove a package and all other unnecessary packages
sudo yum autoremove httpd
downgrade
Downgrade a specific package to an earlier version
A highly-skilled software engineer with a passion for teaching and sharing knowledge. From development to hardware, get articles with
high technical accuracy, clarity, and an engaging writing style.
In this cheatsheet, you will get access to a list of common HTTP and HTTPS Status codes. As a Web Developer, it's good to understand the errors the server or the client returns.