DNF-LOCAL(8)

πŸ“¦ version 4.3.1, in debian bookworm, ubuntu noble

✨ 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 the createrepo_c package installed. no createrepo_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 πŸ’œ


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