Scroll to navigation

YUM-CONFIG-MANAGER(1) dnf-plugins-core YUM-CONFIG-MANAGER(1)

NAME

yum-config-manager - redirecting to DNF config-manager Plugin

Manage main DNF configuration options, toggle which repositories are enabled or disabled, and add new repositories.

SYNOPSIS

dnf config-manager [options] <repo>...

ARGUMENTS

<repo>
Display / modify specified repository. If not specified display / modify main DNF configuration. Repositories can be specified using globs.

OPTIONS

Show this help.
Add (and enable) the repo from the specified file or url. If it has to be added into installroot, combine it with --setopt=reposdir=/<installroot>/etc/yum.repos.d command-line option.
Print dump of current configuration values to stdout.
Disable the specified repos (automatically saves).
Enable the specified repos (automatically saves).
Save the current options (useful with --setopt).

EXAMPLES

http://example.com/some/additional.repo
Download additional.repo and store it in repodir.
http://example.com/different/repo
Create new repo file with http://example.com/different/repo as baseurl and enable it.
Display main DNF configuration.
Display configuration of repo.
Enable repo and make the change permanent.
http://proxy.example.com:3128/ repo1 repo2 --save
Update proxy setting in repo1 and repo2 and make the change permanent.

AUTHOR

See AUTHORS in your Core DNF Plugins distribution

COPYRIGHT

2014, Red Hat, Licensed under GPLv2+

April 15, 2021 4.0.2.2