Dnf: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Packages== ===List Manually-Installed Packages=== dnf history userinstalled ==Modules== ===List All Modules=== dnf module list ===Install a Non-Default Module=== dnf module install [name]:[version]/[stream] or dnf module install nginx:1.16/common") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Packages== | ==Packages== | ||
===Check Installed Version of a Package=== | |||
dnf list installed <package_name> | |||
===List Available Versions of a Package=== | |||
dnf list <package_name> --showduplicates | |||
===List Manually-Installed Packages=== | ===List Manually-Installed Packages=== | ||
Line 10: | Line 18: | ||
===Install a Non-Default Module=== | ===Install a Non-Default Module=== | ||
dnf module install | dnf module install <package_name>:<version>/<stream> | ||
Example: | |||
dnf module install nginx:1.16/common | dnf module install nginx:1.16/common |
Latest revision as of 01:17, 20 July 2024
Packages
Check Installed Version of a Package
dnf list installed <package_name>
List Available Versions of a Package
dnf list <package_name> --showduplicates
List Manually-Installed Packages
dnf history userinstalled
Modules
List All Modules
dnf module list
Install a Non-Default Module
dnf module install <package_name>:<version>/<stream>
Example:
dnf module install nginx:1.16/common