Check package details
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 09 Feb 2023 13:57:48 +0200
changeset 2557 688949d16063
parent 2556 03ce3e35cd5b
child 2558 8ddc7e78cd41
Check package details
dnf.rst
--- a/dnf.rst	Wed Feb 08 22:38:17 2023 +0200
+++ b/dnf.rst	Thu Feb 09 13:57:48 2023 +0200
@@ -5,8 +5,26 @@
 .. contents::
    :local:
 
-List package files
-==================
+List packages
+=============
+
+List all installed packages::
+
+  dnf repoquery --installed
+
+Check package details
+=====================
+
+Check if a package is installed::
+
+  dnf list $PKG
+
+Check a package version::
+
+  dnf info $PKG
+
+List package's files
+====================
 ::
 
   dnf repoquery -l $PKG