RH124 v8 CH14 Part 2: Installing Software (yum command)
You recently installed the KDE Plasma Desktop for testing purposes and now want to remove it. What would be the best way to remove it?
Use yum history to undo the installation
How could you find out which package installed journalctl?
Yum provides */journalctl This is similar to rpm -qf $(which journalctl)
How could you use yum to check for updates without installing them?
yum check-update
How can you check to see if there's an update available for the postfix package?
yum check-update postfix
Clear yum's cache
yum clean all
How would you install the KDE Plasma Workspaces group with yum?
yum groups install "KDE Plasma Workspaces" Use double quotes to protect white space!
How can you list all available package-groups with yum?
yum groups list
How can you display yum transaction history?
yum history list
List all installed packages on your system
yum list installed
What is the difference between these two commands: yum list httpd yum search httpd
yum list only looks at the package name when searching for httpd. yum search will search package names, descriptions, and summaries for the term httpd
How would you remove the postfix package using yum?
yum remove postfix
Search for a package by keyword.
yum search keyword example: yum search ssh will display all packages that have ssh somewhere in the name.
Update all packages on the system
yum update
How could you update only the httpd package?
yum update httpd