Scroll to navigation

DNF-LOCAL(8) dnf-plugins-core DNF-LOCAL(8)

NAME

dnf-local - DNF local Plugin

DESCRIPTION

Automatically copy all downloaded packages to a repository on the local filesystem and generating repo metadata.

NOTE:

Generating repo metadata will work only if you have installed createrepo_c package.


CONFIGURATION

/etc/dnf/plugins/local.conf

The minimal content of conf file should contain main and createrepo sections with enabled parameter, otherwise plugin will not work.:

[main]
enabled = true
[createrepo]
enabled = true


For main section you can specify repodir paramater which sets path to local repository.

Other options and comments you can find in configuration file.

AUTHOR

See AUTHORS in your Core DNF Plugins distribution

COPYRIGHT

2024, Red Hat, Licensed under GPLv2+

February 6, 2024 4.4.4