From 86ba1ad9e6876a5705b12cf8411448d08839ad93 Mon Sep 17 00:00:00 2001 From: quentin Date: Thu, 21 May 2015 23:17:34 +0200 Subject: [PATCH] cheat/cheatsheets/rpm: small enhancements --- cheat/cheatsheets/rpm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cheat/cheatsheets/rpm b/cheat/cheatsheets/rpm index 93e2ecf..5a0d0ff 100644 --- a/cheat/cheatsheets/rpm +++ b/cheat/cheatsheets/rpm @@ -8,7 +8,12 @@ rpm -e rpm -qf # To find what files are installed by a package: +rpm -ql rpm -qpl +# To find what packages require a package or file: +rpm -q --whatrequires +rpm -q --whatrequires + # To list all installed packages: rpm -qa