yum Flashcards
How do you check for updates?
yum check-update
How do you update all packages without prompt?
yum update -y
How do you search for packages using name and description?
yum search
*searches all if none found
How do you search for packages using description, name, summary, details and urls?
yum search all
How do you get information about a specific package
yum info
How do you install a package?
yum install
How do you get a list of installed packages?
yum list installed
yum list installed {package}
How do you get the package responsible for creating a specific directory?
yum provides {direcotry}
yum whatprovides {directory}
i.e yum provides /var/www/
How do you remove a package?
yum remove {package}
How do you clean cache for packages?
yum clean all
How do you remove a package including configuration files?
yum autoremove
How would you download a yum package?
yumdownloader {package}
How would you install an rpm package using yum?
yum localinstall
*automatically looks for dependencies
How would you update the kernel version using yum?
yum upgrade
How do you search for all yum groups?
yum grouplist