# HG changeset patch # User Oleksandr Gavenko # Date 1675943868 -7200 # Node ID 688949d16063d6faee004eba3db2b9a84e02afe4 # Parent 03ce3e35cd5b62629e10b59226b03780ab5ee8ae Check package details diff -r 03ce3e35cd5b -r 688949d16063 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