From edb392da7ff310feee293e726a1a6eb2902193b7 Mon Sep 17 00:00:00 2001 From: Amit Saha Date: Mon, 19 Aug 2013 15:03:18 +1000 Subject: [PATCH 1/2] 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 From d070a5ef454bbf3824c2a94ccdd17659dacc86fe Mon Sep 17 00:00:00 2001 From: Amit Saha Date: Thu, 22 Aug 2013 15:34:42 +1000 Subject: [PATCH 2/2] More yum commands --- cheatsheets/yum | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cheatsheets/yum b/cheatsheets/yum index 7360fc2..11397ad 100644 --- a/cheatsheets/yum +++ b/cheatsheets/yum @@ -1,6 +1,12 @@ 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 @@ -10,7 +16,7 @@ yum whatprovides To find the dependencies of a package: yum deplist -To find information about an installed package: +To find information about a package: yum info List currently enabled repositories: @@ -20,4 +26,4 @@ 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 +yum-utils package)