Update cheatsheets

This commit is contained in:
ivuorinen
2025-07-08 00:20:35 +00:00
parent 4baf14a115
commit 873e610a6b
8 changed files with 127 additions and 23 deletions

25
tldr/linux/dnf-module Normal file
View File

@@ -0,0 +1,25 @@
---
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}}`