source: yum/trunk/docs/yum.conf.5@ 6

Last change on this file since 6 was 2, checked in by Yuri Dario, 15 years ago

Initial import for vendor code.

  • Property svn:eol-style set to native
File size: 25.9 KB
Line 
1.TH "yum.conf" "5" "" "Seth Vidal" "yum configuration file"
2.SH "NAME"
3.LP
4\fByum.conf\fR \- Configuration file for \fByum(8)\fR.
5.SH "DESCRIPTION"
6.LP
7Yum uses a configuration file at \fB/etc/yum/yum.conf\fR.
8.LP
9Additional configuration files are also read from the directories set by the
10\fBreposdir\fR option (default is `/etc/yum/repos.d').
11See the \fBreposdir\fR option below for further details.
12
13.SH "PARAMETERS"
14.LP
15There are two types of sections in the yum configuration file(s): main and
16repository. Main defines all global configuration options. There should be only
17one main section. The repository section(s) define the configuration for each
18repository/server. There should be one or more repository sections.
19
20.SH "[main] OPTIONS"
21.LP
22The [main] section must exist for yum to do anything. It consists of the
23following options:
24
25.IP
26\fBcachedir\fR
27Directory where yum should store its cache and db files. The default is
28`/var/cache/yum'.
29
30.IP
31\fBpersistdir\fR
32Directory where yum should store information that should persist over multiple
33runs. The default is `/var/lib/yum'.
34
35.IP
36\fBkeepcache\fR
37Either `1' or `0'. Determines whether or not yum keeps the cache
38of headers and packages after successful installation. Default is '1'
39(keep files)
40.br
41
42.IP
43\fBreposdir\fR
44A list of directories where yum should look for .repo files which define
45repositories to use. Default is `/etc/yum/repos.d'. Each
46file in this directory should contain one or more repository sections as
47documented in \fB[repository] options\fR below. These will be merged with the
48repositories defined in /etc/yum/yum.conf to form the complete set of
49repositories that yum will use.
50
51.IP
52\fBdebuglevel\fR
53Debug message output level. Practical range is 0\-10. Default is `2'.
54
55.IP
56\fBerrorlevel\fR
57Error message output level. Practical range is 0\-10. Default is `2'.
58
59.IP
60\fBrpmverbosity\fR
61Debug scriptlet output level. 'info' is the default, other
62options are: 'critical', 'emergency', 'error', 'warn' and 'debug'.
63
64.IP
65\fBlogfile\fR
66Full directory and file name for where yum should write its log file.
67
68.IP
69\fBgpgcheck\fR
70Either `1' or `0'. This tells yum whether or not it should perform a GPG
71signature check on packages. When this is set in the [main] section it sets the
72default for all repositories. This option also determines whether or not an
73install of a package from a local RPM file will be GPG signature checked. The
74default is `0'.
75
76.IP
77\fBrepo_gpgcheck\fR
78Either `1' or `0'. This tells yum whether or not it should perform a GPG
79signature check on the repodata. When this is set in the [main] section it sets the
80default for all repositories. The default is `0'.
81
82.IP
83\fBskip_broken\fR
84Either `1' or `0'. Resolve depsolve problems by removing packages that
85are causing problems from the transaction.
86
87.IP
88\fBassumeyes\fR
89Either `1' or `0'. Determines whether or not yum prompts for confirmation of
90critical actions. Default is `0' (do prompt).
91.br
92Command-line option: \fB\-y\fP
93
94.IP
95\fBalwaysprompt\fR
96Either `1' or `0'. Without this option, yum will not prompt for confirmation
97when the list of packages to be installed exactly matches those given on the
98command line. Unless \fBassumeyes\fR is enabled, it will still prompt for
99package removal, or when additional packages need to be installed to fulfill
100dependencies. Default is `1'.
101.br
102
103.IP
104\fBtolerant\fR
105Either `1' or `0'. If enabled, then yum will be tolerant of errors on the
106command line with regard to packages. For example: if you request to install
107foo, bar and baz and baz is installed; yum won't error out complaining that baz
108is already installed. Default to `0' (not tolerant).
109.br
110Command-line option: \fB\-t\fP
111
112.IP
113\fBexclude\fR
114List of packages to exclude from updates or installs. This should be a space
115separated list.
116Shell globs using wildcards (eg. * and ?) are allowed.
117
118.IP
119\fBexactarch\fR
120Either `1' or `0'. Set to `1' to make yum update only update the architectures
121of packages that you have installed. ie: with this enabled yum will not install
122an i686 package to update an i386 package. Default is `1'.
123
124.IP
125\fBinstallonlypkgs \fR
126List of packages that should only ever be installed, never updated. Kernels
127in particular fall into this category. Defaults to kernel, kernel-smp,
128kernel-bigmem, kernel-enterprise, kernel-debug, kernel-unsupported.
129
130.IP
131\fBinstallonly_limit \fR
132Number of packages listed in installonlypkgs to keep installed at the same
133time. Setting to 0 disables this feature. Default is '0'. Note that this
134functionality used to be in the "installonlyn" plugin, where this option was
135altered via. tokeep.
136Note that as of version 3.2.24, yum will now look in the yumdb for a installonly
137attribute on installed packages. If that attribute is "keep", then they will
138never be removed.
139
140.IP
141\fBkernelpkgnames \fR
142List of package names that are kernels. This is really only here for the
143updating of kernel packages and should be removed out in the yum 2.1 series.
144
145.IP
146\fBshowdupesfromrepos\fR
147Either `0' or `1'. Set to `1' if you wish to show any duplicate packages from
148any repository, from package listings like the info or list commands. Set
149to `0' if you want only to see the newest packages from any repository.
150Default is `0'.
151
152.IP
153\fBobsoletes \fR
154This option only has affect during an \fBupdate\fR. It enables yum's
155obsoletes processing logic. Useful when doing distribution level upgrades. See
156also the yum \fBupgrade\fR command documentation for more details (yum(8)).
157Default is `true'.
158.br
159Command-line option: \fB\-\-obsoletes\fP
160
161.IP
162\fBoverwrite_groups \fR
163Either `0' or `1'. Used to determine yum's behaviour if two or more
164repositories offer the package groups with the same name. If
165\fBoverwrite_groups\fR is `1' then the group packages of the last matching
166repository will be used. If \fBoverwrite_groups\fR is `0' then the groups
167from all matching repositories will be merged together as one large group.
168
169.IP
170\fBenable_group_conditionals\fR
171Either `0' or `1'. Determines whether yum will allow the use of conditionals
172packages. Default is `1' (package conditionals are allowed).
173
174.IP
175\fBgroup_package_types\fR
176List of the following: optional, default, mandatory. Tells yum which type
177of packages in groups will be installed when 'groupinstall' is called.
178Default is: default, mandatory
179
180.IP
181\fBinstallroot \fR
182Specifies an alternative installroot, relative to which all packages will be
183installed.
184.br
185Command-line option: \fB\-\-installroot\fP
186
187.IP
188\fBdistroverpkg\fR
189The package used by yum to determine the "version" of the distribution. This
190can be any installed package. Default is `redhat-release'. You can see what
191provides this manually by using: "yum whatprovides redhat-release".
192
193.IP
194\fBdiskspacecheck\fR
195Either `0' or `1'. Set this to `0' to disable the checking for sufficient
196diskspace before a RPM transaction is run. Default is `1' (perform the check).
197
198.IP
199\fBtsflags\fR
200Comma or space separated list of transaction flags to pass to the rpm
201transaction set. These include 'noscripts', 'notriggers', 'nodocs', 'test', and 'repackage'.
202You can set all/any of them. However, if you don't know what these do in the
203context of an rpm transaction set you're best leaving it alone. Default is
204an empty list.
205
206.IP
207\fBrecent\fR
208Number of days back to look for `recent' packages added to a repository.
209Used by the \fBlist recent\fR command. Default is `7'.
210
211.IP
212\fBretries\fR
213Set the number of times any attempt to retrieve a file should retry before
214returning an error. Setting this to `0' makes yum try forever. Default is `10'.
215
216.IP
217\fBkeepalive \fR
218Either `0' or `1'. Set whether HTTP keepalive should be used for HTTP/1.1
219servers that support it. This can improve transfer speeds by using one
220connection when downloading multiple files from a repository. Default is `1'.
221
222.IP
223\fBtimeout \fR
224Number of seconds to wait for a connection before timing out. Defaults to
22530 seconds. This may be too short of a time for extremely overloaded
226sites.
227
228.IP
229\fBhttp_caching\fR
230Determines how upstream HTTP caches are instructed to handle any HTTP downloads
231that Yum does. This option can take the following values:
232
233`all' means that all HTTP downloads should be cached.
234
235`packages' means that only RPM package downloads should be cached (but not
236repository metadata downloads).
237
238`none' means that no HTTP downloads should be cached.
239
240The default is `all'. This is recommended unless you are experiencing caching
241related issues. Try to at least use `packages' to minimize load on repository
242servers.
243
244.IP
245\fBthrottle \fR
246Enable bandwidth throttling for downloads. This option can be expressed as a
247absolute data rate in bytes/sec. An SI prefix (k, M or G) may be appended to the
248bandwidth value (eg. `5.5k' is 5.5 kilobytes/sec, `2M' is 2 Megabytes/sec).
249
250Alternatively, this option can specify the percentage of total bandwidth to use
251(eg. `60%'). In this case the \fBbandwidth\fR option should be used to specify
252the maximum available bandwidth.
253
254Set to `0' to disable bandwidth throttling. This is the default.
255
256.IP
257\fBbandwidth \fR
258Use to specify the maximum available network bandwidth in bytes/second. Used
259with the \fBthrottle\fR option (above). If \fBthrottle\fR is a percentage and
260\fBbandwidth\fR is `0' then bandwidth throttling will be disabled. If
261\fBthrottle\fR is expressed as a data rate (bytes/sec) then this option is
262ignored. Default is `0' (no bandwidth throttling).
263
264.IP
265\fBsslcacert \fR
266Path to the directory containing the databases of the certificate authorities
267yum should use to verify SSL certificates. Defaults to none - uses system
268default
269
270.IP
271\fBsslverify \fR
272Boolean - should yum verify SSL certificates/hosts at all. Defaults to True
273
274.IP
275\fBsslclientcert \fR
276Path to the SSL client certificate yum should use to connect to repos/remote sites
277Defaults to none.
278
279.IP
280\fBsslclientkey \fR
281Path to the SSL client key yum should use to connect to repos/remote sites
282Defaults to none.
283
284.IP
285\fBhistory_record \fR
286Boolean - should yum record history entries for transactions. This takes some
287disk space, and some extra time in the transactions. But it allows how to know a
288lot of information about what has happened before, and display it to the user
289with the history info/list/summary commands. yum also provides the
290history undo/redo commands. Defaults to True.
291
292.IP
293\fBhistory_record_packages \fR
294This is a list of package names that should be recorded as having helped the
295transaction. yum plugins have an API to add themselves to this, so it should not
296normally be necessary to add packages here. Not that this is also used for the
297packages to look for in \-\-version. Defaults to rpm, yum, yum-metadata-parser.
298
299.IP
300\fBcommands\fR
301List of functional commands to run if no functional commands are specified
302on the command line (eg. "update foo bar baz quux"). None of the short options
303(eg. \-y, \-e, \-d) are accepted for this option.
304
305.IP
306\fBsyslog_ident \fR
307XXX not implemented yet
308
309.IP
310\fBsyslog_facility \fR
311XXX not implemented yet
312
313.IP
314\fBproxy \fR
315URL to the proxy server that yum should use.
316
317.IP
318\fBproxy_username \fR
319username to use for proxy
320
321.IP
322\fBproxy_password \fR
323password for this proxy
324
325.IP
326\fBplugins \fR
327Either `0' or `1'. Global switch to enable or disable yum plugins. Default is
328`0' (plugins disabled). See the \fBPLUGINS\fR section of the \fByum(8)\fR man
329for more information on installing yum plugins.
330
331.IP
332\fBpluginpath \fR
333A list of directories where yum should look for plugin modules. Default is
334`/usr/share/yum-plugins' and `/usr/lib/yum-plugins'.
335
336.IP
337\fBpluginconfpath \fR
338A list of directories where yum should look for plugin configuration files.
339Default is `/etc/yum/pluginconf.d'.
340
341.IP
342\fBmetadata_expire \fR
343Time (in seconds) after which the metadata will expire. So that if the
344current metadata downloaded is less than this many seconds old then yum will
345not update the metadata against the repository. If you find that
346yum is not downloading information on updates as often as you would like
347lower the value of this option. You can also change from the default of using
348seconds to using days, hours or minutes by appending a d, h or m respectively.
349The default is 1.5 hours, to compliment yum-updatesd running once an hour.
350It's also possible to use the word "never", meaning that the metadata will
351never expire. Note that when using a metalink file the metalink must always
352be newer than the metadata for the repository, due to the validation, so this
353timeout also applies to the metalink file.
354
355.IP
356\fBmirrorlist_expire \fR
357Time (in seconds) after which the mirrorlist locally cached will expire.
358If the current mirrorlist is less than this many seconds old then yum
359will not download another copy of the mirrorlist, it has the same extra format
360as metadata_expire.
361If you find that yum is not downloading the mirrorlists as
362often as you would like lower the value of this option.
363
364.IP
365\fBmdpolicy \fR
366You can select from different metadata download policies depending on how much
367data you want to download with the main repository metadata index. The
368advantages of downloading more metadata with the index is that you can't get
369into situations where you need to use that metadata later and the versions
370available aren't compatible (or the user lacks privileges) and that if the
371metadata is corrupt in any way yum will revert to the previous metadata.
372
373`instant' - Just download the new metadata index, this is roughly what yum
374always did, however it now does some checking on the index and reverts if
375it classifies it as bad.
376
377`group:primary' - Download the primary metadata with the index. This contains
378most of the package information and so is almost always required anyway. This
379is the default.
380
381`group:small' - With the primary also download the updateinfo metadata, this is
382required for yum-security operations and it also used in the graphical clients.
383This file also tends to be significantly smaller than most others.
384
385`group:main' - With the primary and updateinfo download the filelists metadata
386and the group metadata. The filelists data is required for operations like
387"yum install /bin/bash", and also some dependency resolutions require it. The
388group data is used in some graphical clients and for group operations like
389"yum grouplist Base".
390
391`group:all' - Download all metadata listed in the index, currently the only one
392not listed above is the other metadata, which contains the changelog information
393which is used by yum-changelog. This is what "yum makecache" uses.
394
395.IP
396\fBmultilib_policy \fR
397Can be set to 'all' or 'best'. All means install all possible arches for any package you
398want to install. Therefore yum install foo will install foo.i386 and foo.x86_64 on x86_64,
399if it is available. Best means install the best arch for this platform, only.
400
401.IP
402\fBbugtracker_url \fR
403URL where bugs should be filed for yum. Configurable for local versions or distro-specific
404bugtrackers.
405
406.IP
407\fBcolor \fR
408Display colorized output automatically, depending on the output terminal,
409always (using ANSI codes) or never.
410Command-line option: \fB\-\-color\fP
411
412.IP
413\fBcolor_list_installed_older \fR
414The colorization/highlighting for packages in list/info installed which are
415older than the latest available package with the same name and arch.
416Default is `bold'.
417Possible values are a comma separated list containing: bold, blink, dim,
418reverse, underline, fg:black, fg:red, fg:green, fg:yellow, fg:blue, fg:magenta,
419fg:cyan, fg:white, bg:black, bg:red, bg:green, bg:yellow, bg:blue, bg:magenta,
420bg:cyan, bg:white.
421
422.IP
423\fBcolor_list_installed_newer \fR
424The colorization/highlighting for packages in list/info installed which are
425newer than the latest available package with the same name and arch.
426Default is `bold,yellow'.
427See color_list_installed_older for possible values.
428
429.IP
430\fBcolor_list_installed_reinstall \fR
431The colorization/highlighting for packages in list/info installed which is
432the same version as the latest available package with the same name and arch.
433Default is `normal'.
434See color_list_installed_older for possible values.
435
436.IP
437\fBcolor_list_installed_extra \fR
438The colorization/highlighting for packages in list/info installed which has
439no available package with the same name and arch.
440Default is `bold,red'.
441See color_list_installed_older for possible values.
442
443.IP
444\fBcolor_list_available_upgrade \fR
445The colorization/highlighting for packages in list/info available which is
446an upgrade for the latest installed package with the same name and arch.
447Default is `bold,blue'.
448See color_list_installed_older for possible values.
449
450.IP
451\fBcolor_list_available_downgrade \fR
452The colorization/highlighting for packages in list/info available which is
453a downgrade for the latest installed package with the same name and arch.
454Default is `dim,cyan'.
455See color_list_installed_older for possible values.
456
457.IP
458\fBcolor_list_available_install \fR
459The colorization/highlighting for packages in list/info available which has
460no installed package with the same name and arch.
461Default is `normal'.
462See color_list_installed_older for possible values.
463
464.IP
465\fBcolor_list_available_reinstall \fR
466The colorization/highlighting for packages in list/info available which is
467the same version as the installed package with the same name and arch.
468Default is `bold,underline,green.
469See color_list_installed_older for possible values.
470
471.IP
472\fBcolor_search_match \fR
473The colorization/highlighting for text matches in search.
474Default is `bold'.
475See color_list_installed_older for possible values.
476
477.IP
478\fBcolor_update_installed \fR
479The colorization/highlighting for packages in the "updates list" which are
480installed. The updates list is what is printed when you run "yum update",
481"yum list updates", "yum list obsoletes" and "yum check-update".
482Default is `normal'.
483See color_list_installed_older for possible values.
484
485.IP
486\fBcolor_update_local \fR
487The colorization/highlighting for packages in the "updates list" which are
488already downloaded. The updates list is what is printed when you run
489"yum update", "yum list updates", "yum list obsoletes" and "yum check-update".
490Default is `bold'.
491See color_list_installed_older for possible values.
492
493.IP
494\fBcolor_update_remote \fR
495The colorization/highlighting for packages in the "updates list" which need to
496be downloaded. The updates list is what is printed when you run "yum update",
497"yum list updates", "yum list obsoletes" and "yum check-update".
498Default is `normal'.
499See color_list_installed_older for possible values.
500
501.SH "[repository] OPTIONS"
502.LP
503The repository section(s) take the following form:
504.IP
505\fBExample\fP:
506[repositoryid]
507.br
508name=Some name for this repository
509.br
510baseurl=url://path/to/repository/
511.br
512
513.IP
514\fBrepositoryid\fR
515Must be a unique name for each repository, one word.
516
517.IP
518\fBname\fR
519A human readable string describing the repository.
520
521.IP
522\fBbaseurl\fR
523Must be a URL to the directory where the yum repository's `repodata' directory
524lives. Can be an http://, ftp:// or file:// URL. You can specify multiple URLs
525in one baseurl statement. The best way to do this is like this:
526.br
527[repositoryid]
528.br
529name=Some name for this repository
530.br
531baseurl=url://server1/path/to/repository/
532.br
533 url://server2/path/to/repository/
534.br
535 url://server3/path/to/repository/
536.br
537
538If you list more than one baseurl= statement in a repository you will find
539yum will ignore the earlier ones and probably act bizarrely. Don't do this,
540you've been warned.
541
542You can use HTTP basic auth by prepending "user:password@" to the server
543name in the baseurl line. For example: "baseurl=http://user:passwd@example.com/".
544
545.IP
546\fBmetalink\fR
547Specifies a URL to a metalink file for the repomd.xml, a list of mirrors for
548the entire repository are generated by converting the mirrors for the
549repomd.xml file to a baseurl. The metalink file also contains the latest
550timestamp from the data in the repomd.xml, the length of the repomd.xml and
551checksum data. This data is checked against any downloaded repomd.xml file
552and all of the information from the metalink file must match. This can be used
553instead of or with the \fBbaseurl\fR option. Substitution variables, described
554below, can be used with this option. This option disables the mirrorlist option.
555As a special hack is the mirrorlist URL contains the word "metalink" then the
556value of mirrorlist is copied to metalink (if metalink is not set).
557
558.IP
559\fBmirrorlist\fR
560Specifies a URL to a file containing a list of baseurls. This can be used
561instead of or with the \fBbaseurl\fR option. Substitution variables, described
562below, can be used with this option.
563As a special hack is the mirrorlist URL contains the word "metalink" then the
564value of mirrorlist is copied to metalink (if metalink is not set).
565
566
567.IP
568\fBenabled\fR
569Either `1' or `0'. This tells yum whether or not use this repository.
570
571.IP
572\fBgpgcheck\fR
573Either `1' or `0'. This tells yum whether or not it should perform a GPG
574signature check on the packages gotten from this repository.
575
576.IP
577\fBrepo_gpgcheck\fR
578Either `1' or `0'. This tells yum whether or not it should perform a GPG
579signature check on the repodata from this repository.
580
581.IP
582\fBgpgkey\fR
583A URL pointing to the ASCII-armored GPG key file for the repository. This
584option is used if yum needs a public key to verify a package and the required
585key hasn't been imported into the RPM database. If this option is set, yum will
586automatically import the key from the specified URL. You will be prompted before
587the key is installed unless the \fBassumeyes\fR option is set.
588
589Multiple URLs may be specified here in the same manner as the \fBbaseurl\fR
590option (above). If a GPG key is required to install a package from a
591repository, all keys specified for that repository will be installed.
592
593.IP
594\fBexclude\fR
595Same as the [main] \fBexclude\fR option but only for this repository.
596Substitution variables, described below, are honored here.
597
598.IP
599\fBincludepkgs\fR
600Inverse of exclude. This is a list of packages you want to use from a
601repository. If this option lists only one package then that is all yum will
602ever see from the repository. Defaults to an empty list. Substitution
603variables, described below, are honored here.
604
605.IP
606\fBenablegroups\fR
607Either `0' or `1'. Determines whether yum will allow the use of package groups
608for this repository. Default is `1' (package groups are allowed).
609
610.IP
611\fBfailovermethod\fR
612Either `roundrobin' or `priority'.
613
614`roundrobin' randomly selects a URL out of
615the list of URLs to start with and proceeds through each of them as it
616encounters a failure contacting the host.
617
618`priority' starts from the first baseurl listed and reads through them
619sequentially.
620
621\fBfailovermethod\fR defaults to `roundrobin' if not specified.
622
623.IP
624\fBkeepalive\fR
625Either `1' or `0'. This tells yum whether or not HTTP/1.1 keepalive should be
626used with this repository. See the global option in the [main] section above
627for more information.
628
629.IP
630\fBtimeout\fR
631Overrides the \fBtimeout\fR option from the [main] section for this repository.
632
633.IP
634\fBhttp_caching\fR
635Overrides the \fBhttp_caching\fR option from the [main] section for this repository.
636
637.IP
638\fBretries\fR
639Overrides the \fBretries\fR option from the [main] section for this repository.
640
641.IP
642\fBthrottle\fR
643Overrides the \fBthrottle\fR option from the [main] section for this
644repository.
645
646.IP
647\fBbandwidth\fR
648Overrides the \fBbandwidth\fR option from the [main] section for this
649repository.
650
651
652.IP
653\fBsslcacert \fR
654Overrides the \fBsslcacert\fR option from the [main] section for this
655repository.
656
657.IP
658\fBsslverify \fR
659Overrides the \fBsslverify\fR option from the [main] section for this
660repository.
661
662.IP
663\fBsslclientcert \fR
664Overrides the \fBsslclientcert\fR option from the [main] section for this
665repository.
666
667.IP
668\fBsslclientkey \fR
669Overrides the \fBsslclientkey\fR option from the [main] section for this
670repository.
671
672
673.IP
674\fBmetadata_expire \fR
675Overrides the \fBmetadata_expire\fR option from the [main] section for this
676repository.
677
678.IP
679\fBmirrorlist_expire \fR
680Overrides the \fBmirrorlist_expire\fR option from the [main] section for this
681repository.
682
683.IP
684\fBproxy \fR
685URL to the proxy server for this repository. Set to '_none_' to disable the
686global proxy setting for this repository. If this is unset it
687inherits it from the global setting
688
689.IP
690\fBproxy_username \fR
691username to use for proxy.
692If this is unset it inherits it from the global setting
693
694.IP
695\fBproxy_password \fR
696password for this proxy.
697If this is unset it inherits it from the global setting
698
699.IP
700\fBcost \fR
701relative cost of accessing this repository. Useful for weighing one repo's packages
702as greater/less than any other. defaults to 1000
703
704.IP
705\fBskip_if_unavailable \fR
706If set to True yum will continue running if this repository cannot be
707contacted for any reason. This should be set carefully as all repos are consulted
708for any given command. Defaults to False.
709.IP
710
711.SH "URL INCLUDE SYNTAX"
712.LP
713The inclusion of external configuration files is supported for /etc/yum/yum.conf
714and the .repo files in the /etc/yum/repos.d directory. To include a URL, use a
715line of the following format:
716
717include=url://to/some/location
718
719The configuration file will be inserted at the position of the "include=" line.
720Included files may contain further include lines. Yum will abort with an error
721if an inclusion loop is detected.
722
723.SH "VARIABLES"
724.LP
725There are a number of variables you can use to ease maintenance of yum's
726configuration files. They are available in the values of several options
727including \fBname\fR, \fBbaseurl\fR and \fBcommands\fB.
728.LP
729
730.IP
731\fB$releasever\fR
732This will be replaced with the value of the version of the package listed
733in \fBdistroverpkg\fR. This defaults to the version of `redhat-release'
734package.
735
736.IP
737\fB$arch\fR
738This will be replaced with your architecture as listed by os.uname()[4] in
739Python.
740
741.IP
742\fB$basearch\fR
743This will be replaced with your base architecture in yum. For example, if
744your $arch is i686 your $basearch will be i386.
745
746.IP
747\fB$uuid\fR
748This will be replaced with a unique but persistent uuid for this machine.
749The value that is first generated will be stored in /var/lib/yum/uuid and
750reused until this file is deleted.
751
752.IP
753\fB$YUM0-$YUM9\fR
754These will be replaced with the value of the shell environment variable of
755the same name. If the shell environment variable does not exist then the
756configuration file variable will not be replaced.
757
758
759.SH "FILES"
760.nf
761/etc/yum/yum.conf
762/etc/yum/repos.d/
763/etc/yum/pluginconf.d/
764
765.SH "SEE ALSO"
766.LP
767yum(8)
768
Note: See TracBrowser for help on using the repository browser.