DNF4-LOCAL(8)
okay so bestie, welcome to DNF4-LOCAL(8) β a page from the dnf-plugins-core manual, and it's literally all about the DNF local plugin. Buckle up, it's short but iconic π
β¨ NAME β¨
dnf4-localβ the DNF local Plugin. That's the whole name vibe, no cap.
πΈ DESCRIPTION πΈ
It automatically copies all downloaded packages to a repository on the local filesystem and generating repo metadata. It's giving "download and save, but make it a local repo" energy π
NOTE: generating repo metadata will work only if you have installed the createrepo_c package. No package, no metadata magic, periodt π
π¦ CONFIGURATION π¦
The config file lives at:
/etc/dnf/plugins/local.conf
The minimal content of the conf file should contain main and createrepo sections with the enabled parameter, otherwise the plugin will not work. Lowkey non-negotiable, bestie:
[main]
enabled = true
[createrepo]
enabled = true
For the main section you can specify the repodir parameter, which sets the path to the local repository.
Other options and comments you can find in the configuration file β go peek, iykyk π
π AUTHOR π
See AUTHORS in your Core DNF Plugins distribution.
π COPYRIGHT π
2014, Red Hat, Licensed under GPLv2+.
Version 4.10.1, dated Mar 28, 2025 β that's the cute little sign-off, bestie, mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: python3-dnf-plugin-local 4.10.1-bp160.1.7 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms