From edb392da7ff310feee293e726a1a6eb2902193b7 Mon Sep 17 00:00:00 2001 From: Amit Saha Date: Mon, 19 Aug 2013 15:03:18 +1000 Subject: [PATCH] Add cheatsheet for yum --- cheatsheets/yum | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cheatsheets/yum 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