Difference between revisions of "DNF"
Jump to navigation
Jump to search
(Created page with ";Did Not Finish :no, that's a status for someone who pulls out of a Disc Golf tournament. wp:DNF (software) is the successor to Yum - a package manager for .rpm-based...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
https://dnf.readthedocs.io/en/latest/command_ref.html | https://dnf.readthedocs.io/en/latest/command_ref.html | ||
+ | |||
+ | The Rocky Linux wiki has info on their repositories and also version policy https://wiki.rockylinux.org/rocky/repo/#version-policy | ||
+ | |||
+ | ;Reclaim space from DNF caches | ||
+ | :sudo dnf clean dbcache | ||
+ | :sudo dnf clean packages | ||
+ | :sudo dnf clean all | ||
+ | |||
+ | ;How to Install a Specific Version of a software package: | ||
+ | :sudo dnf list installed elasticsearch | ||
+ | :sudo dnf list elasticsearch --showduplicates | ||
+ | :sudo dnf remove elasticsearch kibana | ||
+ | :sudo dnf erase elasticsearch kibana | ||
+ | :sudo dnf list installed elasticsearch | ||
+ | :sudo dnf install dnf-command(versionlock) | ||
+ | :sudo dnf search ansible | ||
+ | :sudo dnf list ansible | ||
+ | :sudo dnf versionlock add ansible | ||
+ | :sudo dnf versionlock list | ||
+ | |||
+ | * https://dnf-plugins-core.readthedocs.io/en/latest/versionlock.html | ||
+ | * https://unix.stackexchange.com/questions/403181/how-to-pin-a-package-in-dnf-fedora explains the difference between 'exclude' and 'versionlock' | ||
+ | * https://docs.fedoraproject.org/en-US/quick-docs/dnf/#exclude-package | ||
+ | |||
+ | <br /> | ||
[[Category:System Administration]] | [[Category:System Administration]] | ||
[[Category:Packages]] | [[Category:Packages]] | ||
+ | [[Category:RedHat]] |
Latest revision as of 22:56, 27 March 2024
- Did Not Finish
- no, that's a status for someone who pulls out of a Disc Golf tournament.
wp:DNF (software) is the successor to Yum - a package manager for .rpm-based Linux distributions. In RHEL, and by extension, AlmaLinux and Rocky Linux, yum is an alias for dnf. (So you're using dnf even if you think you're using yum.) dnf has been around since 2013 and became default in 2015
https://dnf.readthedocs.io/en/latest/command_ref.html
The Rocky Linux wiki has info on their repositories and also version policy https://wiki.rockylinux.org/rocky/repo/#version-policy
- Reclaim space from DNF caches
- sudo dnf clean dbcache
- sudo dnf clean packages
- sudo dnf clean all
- How to Install a Specific Version of a software package
- sudo dnf list installed elasticsearch
- sudo dnf list elasticsearch --showduplicates
- sudo dnf remove elasticsearch kibana
- sudo dnf erase elasticsearch kibana
- sudo dnf list installed elasticsearch
- sudo dnf install dnf-command(versionlock)
- sudo dnf search ansible
- sudo dnf list ansible
- sudo dnf versionlock add ansible
- sudo dnf versionlock list
- https://dnf-plugins-core.readthedocs.io/en/latest/versionlock.html
- https://unix.stackexchange.com/questions/403181/how-to-pin-a-package-in-dnf-fedora explains the difference between 'exclude' and 'versionlock'
- https://docs.fedoraproject.org/en-US/quick-docs/dnf/#exclude-package