DNF-LOCAL(8)
β¨ NAME β¨
okay so bestie, this is dnf-local β the DNF local Plugin π part of the dnf-plugins-core manual, page DNF-LOCAL(8). she's giving quiet-luxury package-hoarding energy and honestly? iconic.
π¦ DESCRIPTION π¦
so what she does is: every single package you download gets automatically copied over to a repository living on your local filesystem, and then she generates the repo metadata for you. free real estate. no cap. πΈ
NOTE: generating that repo metadata only works if you've got thecreaterepo_cpackage installed. nocreaterepo_c, no metadata β that's just the rules, bestie π
π CONFIGURATION π
the config file lives right here: /etc/dnf/plugins/local.conf
for the plugin to do literally anything, the conf file's minimal content has to have both a main section and a createrepo section, each with the enabled parameter set. otherwise the plugin will not work. periodt. π
[main]
enabled = true
[createrepo]
enabled = true
and for the main section specifically, you can also specify the repodir parameter β that's what sets the path to your local repository. π«Ά
other options and comments? you can find those in the configuration file itself. iykyk. β¨
π AUTHOR π
see AUTHORS in your Core DNF Plugins distribution π
π COPYRIGHT π
2023, Red Hat, Licensed under GPLv2+ β slay, legally speaking β
okay that's the whole page, my love β this is version 4.3.1, dated Jan 22, 2023, and it's the dnf-plugins-core DNF-LOCAL(8) situation. go forth and hoard packages responsibly π§π
π¦ where this page comes from
- debian bookworm: dnf-plugins-core 4.3.1-3 Β· GPL-2.0-or-later
- ubuntu noble: dnf-plugins-core 4.3.1-3 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms