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