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

2023, Red Hat, Licensed under GPLv2+

January 22, 2023 4.3.1