List packages selected by a user.
--- 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