dnf.rst
changeset 2558 8ddc7e78cd41
parent 2557 688949d16063
child 2561 37a80bcdba4b
equal deleted inserted replaced
2557:688949d16063 2558:8ddc7e78cd41
    10 
    10 
    11 List all installed packages::
    11 List all installed packages::
    12 
    12 
    13   dnf repoquery --installed
    13   dnf repoquery --installed
    14 
    14 
       
    15 List packages selected by a user (but not automatically to meet dependenciy requirements)::
       
    16 
       
    17   dnf repoquery --userinstalled
       
    18   dnf history userinstalled
       
    19 
    15 Check package details
    20 Check package details
    16 =====================
    21 =====================
    17 
    22 
    18 Check if a package is installed::
    23 Check if a package is installed::
    19 
    24 
    20   dnf list $PKG
    25   dnf list $PKG
       
    26   rpm --verify $PKG
       
    27   rpm -V $PKG
    21 
    28 
    22 Check a package version::
    29 Check a package version::
    23 
    30 
    24   dnf info $PKG
    31   dnf info $PKG
    25 
    32 
    56 =======================================
    63 =======================================
    57 ::
    64 ::
    58 
    65 
    59   dnf repoquery --alldeps --whatrequires $PKG
    66   dnf repoquery --alldeps --whatrequires $PKG
    60   dnf repoquery --installed --whatrequires $PKG
    67   dnf repoquery --installed --whatrequires $PKG
    61 
    68   rpm -q --whatrequires $PKG