diff --git a/cheatsheets/yum b/cheatsheets/yum new file mode 100644 index 0000000..11397ad --- /dev/null +++ b/cheatsheets/yum @@ -0,0 +1,29 @@ +To install the latest version of a package: +yum install + +To perform a local install: +yum localinstall + +To remove a package: +yum remove + +To search for a package: +yum search + +To find what package installs a program: +yum whatprovides + +To find the dependencies of a package: +yum deplist + +To find information about a package: +yum info + +List currently enabled repositories: +yum repolist + +To download the source RPM for a package: +yumdownloader --source + +(You have to install yumdownloader first, which is installed by the +yum-utils package)