diff --git a/cheatsheets/yum b/cheatsheets/yum new file mode 100644 index 0000000..7360fc2 --- /dev/null +++ b/cheatsheets/yum @@ -0,0 +1,23 @@ +To install the latest version of a package: +yum install + +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 an installed 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) \ No newline at end of file