List packages selected by a user.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 13 Feb 2023 12:46:06 +0200
changeset 2558 8ddc7e78cd41
parent 2557 688949d16063
child 2559 42551ca22ca3
List packages selected by a user.
dnf.rst
--- a/dnf.rst	Thu Feb 09 13:57:48 2023 +0200
+++ b/dnf.rst	Mon Feb 13 12:46:06 2023 +0200
@@ -12,12 +12,19 @@
 
   dnf repoquery --installed
 
+List packages selected by a user (but not automatically to meet dependenciy requirements)::
+
+  dnf repoquery --userinstalled
+  dnf history userinstalled
+
 Check package details
 =====================
 
 Check if a package is installed::
 
   dnf list $PKG
+  rpm --verify $PKG
+  rpm -V $PKG
 
 Check a package version::
 
@@ -58,4 +65,4 @@
 
   dnf repoquery --alldeps --whatrequires $PKG
   dnf repoquery --installed --whatrequires $PKG
-
+  rpm -q --whatrequires $PKG