mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
535 B
Plaintext
26 lines
535 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|