Dnf

From DikapediaV2
Revision as of 19:12, 26 September 2024 by Ardika Sulistija (talk | contribs)
Jump to: navigation, search

For Yum, Apt, and Repos stuff, refer to the Yum, Apt, and Repos page.


Dnf


DNF is the modern successor to Yum, featuring improved speed, efficiency, and enhanced dependency resolution capabilities.


More information: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/managing-software-packages_configuring-basic-system-settings#doc-wrapper


How to Lock a Specific Package


If you want to lock a package, such as the kernel so that you can prevent other kernels from getting installed, you can edit the following file and list the packages you want to lock:

$ dzdo cat /etc/dnf/dnf.conf | grep -i exclude
exclude=kernel* kmod-kvdo