Debian Codegraph @

upstream/fedora-44/man1/yum-config-manager.1

raw
1 .\" Man page generated from reStructuredText
2 .\" by the Docutils 0.22.4 manpage writer.
3 .
4 .
5 .nr rst2man-indent-level 0
6 .
7 .de1 rstReportMargin
8 \\$1 \\n[an-margin]
9 level \\n[rst2man-indent-level]
10 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
11 -
12 \\n[rst2man-indent0]
13 \\n[rst2man-indent1]
14 \\n[rst2man-indent2]
15 ..
16 .de1 INDENT
17 .\" .rstReportMargin pre:
18 . RS \\$1
19 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
20 . nr rst2man-indent-level +1
21 .\" .rstReportMargin post:
22 ..
23 .de UNINDENT
24 . RE
25 .\" indent \\n[an-margin]
26 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
27 .nr rst2man-indent-level -1
28 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
29 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
30 ..
31 .TH "YUM-CONFIG-MANAGER" "1" "Feb 25, 2026" "4.10.1" "dnf-plugins-core"
32 .SH NAME
33 yum-config-manager \- redirecting to DNF config-manager Plugin
34 .sp
35 Manage main and repository DNF configuration options, toggle which
36 repositories are enabled or disabled, and add new repositories.
37 .SH SYNOPSIS
38 .sp
39 \fBdnf config\-manager [options] <section>...\fP
40 .SH ARGUMENTS
41 .INDENT 0.0
42 .TP
43 .B \fB<section>\fP
44 This argument can be used to explicitly select the configuration sections to manage.
45 A section can either be \fBmain\fP or a repoid.
46 If not specified, the program will select the \fBmain\fP section and each repoid
47 used within any \fB\-\-setopt\fP options.
48 A repoid can be specified using globs.
49 .UNINDENT
50 .SH OPTIONS
51 .sp
52 All general DNF options are accepted, see \fIOptions\fP in \fBdnf(8)\fP for details.
53 .INDENT 0.0
54 .TP
55 .B \fB\-\-help\-cmd\fP
56 Show this help.
57 .TP
58 .B \fB\-\-add\-repo=URL\fP
59 Add (and enable) the repo from the specified file or url. If it has to be added into installroot, combine it with
60 \fB\-\-setopt=reposdir=/<installroot>/etc/yum.repos.d\fP command\-line option.
61 .TP
62 .B \fB\-\-dump\fP
63 Print dump of current configuration values to stdout.
64 .TP
65 .B \fB\-\-set\-disabled\fP, \fB\-\-disable\fP
66 Disable the specified repos (implies \fB\-\-save\fP).
67 .TP
68 .B \fB\-\-set\-enabled\fP, \fB\-\-enable\fP
69 Enable the specified repos (implies \fB\-\-save\fP).
70 .TP
71 .B \fB\-\-save\fP
72 Save the current options (useful with \fB\-\-setopt\fP).
73 .TP
74 .B \fB\-\-setopt=<option>=<value>\fP
75 Set a configuration option. To set configuration options for repositories, use
76 \fBrepoid.option\fP for the \fB<option>\fP\&. Globs are supported in repoid.
77 .UNINDENT
78 .sp
79 \fBWarning:\fP
80 .INDENT 0.0
81 .INDENT 3.5
82 DNF \fBconfig\-manager\fP can misbehave when enabling/disabling repositories generated by tools like
83 \fBsubscription\-manager\fP on RHEL. In this case you should use \fBsubscription\-manager\fP to perform
84 such actions.
85 .UNINDENT
86 .UNINDENT
87 .SH EXAMPLES
88 .INDENT 0.0
89 .TP
90 .B \fBdnf config\-manager \-\-add\-repo http://example.com/some/additional.repo\fP
91 Download additional.repo and store it in repodir.
92 .TP
93 .B \fBdnf config\-manager \-\-add\-repo http://example.com/different/repo\fP
94 Create new repo file with \%<http://\:example\:.com/\:different/\:repo> as baseurl and enable it.
95 .TP
96 .B \fBdnf config\-manager \-\-dump\fP
97 Display main DNF configuration.
98 .TP
99 .B \fBdnf config\-manager \-\-dump <section>\fP
100 Display configuration of a repository identified by <section>.
101 .TP
102 .B \fBdnf config\-manager \-\-set\-enabled <repoid>\fP
103 Enable repository identified by <repoid> and make the change permanent.
104 .TP
105 .B \fBdnf config\-manager \-\-set\-disabled <repoid1> <repoid2>\fP
106 Disable repositories identified by <repoid1> and <repoid2>
107 .TP
108 .B \fBdnf config\-manager \-\-set\-disabled <repoid1>,<repoid2>\fP
109 Disable repositories identified by <repoid1> and <repoid2>
110 .TP
111 .B \fBdnf config\-manager \-\-save \-\-setopt=*.proxy=http://proxy.example.com:3128/ <repo1> <repo2>\fP
112 Update proxy setting in repositories with repoid <repo1> and <repo2> and make the change
113 permanent.
114 .TP
115 .B \fBdnf config\-manager \-\-save \-\-setopt=*\-debuginfo.gpgcheck=0\fP
116 Update gpgcheck setting in all repositories whose id ends with \-debuginfo and make the change permanent.
117 .UNINDENT
118 .SH Author
119 See AUTHORS in your Core DNF Plugins distribution
120 .SH Copyright
121 2014, Red Hat, Licensed under GPLv2+
122 .\" End of generated man page.