HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

dnf module — Manage package modularity. More information: <https://dnf.readthedocs.io/en/latest/command_ref.html#

Submitted by: @import:tldr-pages··
0
Viewed 0 times
dnf modulecommandclimanageinformationpackagemodularitymore
linux

Problem

How to use the dnf module command: Manage package modularity. More information: <https://dnf.readthedocs.io/en/latest/command_ref.html#module-command>.

Solution

dnf module — Manage package modularity. More information: <https://dnf.readthedocs.io/en/latest/command_ref.html#module-command>.

View the modularity overview:
dnf module list


View modularity of a specific program:
dnf module list {{package_name}}


Set a package to be enabled:
sudo dnf module enable {{package_name}}:{{stream}}


Enable and install a specific version:
dnf module install {{package_name}}:{{stream}}

Code Snippets

View the modularity overview

dnf module list

View modularity of a specific program

dnf module list {{package_name}}

Set a package to be enabled

sudo dnf module enable {{package_name}}:{{stream}}

Enable and install a specific version

dnf module install {{package_name}}:{{stream}}

Context

tldr-pages: linux/dnf module

Revisions (0)

No revisions yet.