1YUM-CONFIG-MANAGER(1)          dnf-plugins-core          YUM-CONFIG-MANAGER(1)
2
3
4

NAME

6       yum-config-manager - redirecting to DNF config-manager Plugin
7
8       Manage  main  DNF  configuration options, toggle which repositories are
9       enabled or disabled, and add new repositories.
10

SYNOPSIS

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

ARGUMENTS

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

OPTIONS

20       --help-cmd
21              Show this help.
22
23       --add-repo=URL
24              Add (and enable) the repo from the specified file or url. If  it
25              has   to   be   added   into   installroot,   combine   it  with
26              --setopt=reposdir=/<installroot>/etc/yum.repos.d    command-line
27              option.
28
29       --dump Print dump of current configuration values to stdout.
30
31       --set-disabled, --disable
32              Disable the specified repos (automatically saves).
33
34       --set-enabled, --enable
35              Enable the specified repos (automatically saves).
36
37       --save Save the current options (useful with --setopt).
38

EXAMPLES

40       dnf config-manager --add-repo http://example.com/some/additional.repo
41              Download additional.repo and store it in repodir.
42
43       dnf config-manager --add-repo http://example.com/different/repo
44              Create  new  repo file with http://example.com/different/repo as
45              baseurl and enable it.
46
47       dnf config-manager --dump
48              Display main DNF configuration.
49
50       dnf config-manager repo --dump
51              Display configuration of repo.
52
53       dnf config-manager --set-enabled repo
54              Enable repo and make the change permanent.
55
56       dnf config-manager --setopt proxy=http://proxy.example.com:3128/  repo1
57       repo2 --save
58              Update proxy setting in repo1 and repo2 and make the change per‐
59              manent.
60

AUTHOR

62       See AUTHORS in your Core DNF Plugins distribution
63
65       2014, Red Hat, Licensed under GPLv2+
66
67
68
69
704.0.2.2                          May 14, 2019            YUM-CONFIG-MANAGER(1)
Impressum