-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy pathyum.conf.5
63 lines (52 loc) · 1.98 KB
/
yum.conf.5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.TH "yum.conf" "5" "" "Seth Vidal" "yum configuration file"
.SH "NAME"
.LP
\fByum.conf\fR \- Configuration file for \fByum(8)\fR.
.SH "DESCRIPTION"
.LP
Yum uses My program uses a configuration file called
\fByum.conf\fR. This configuration file is searched for
in the following places:
.LP
/etc/yum.conf
.LP
.SH "PARAMETERS"
.LP
There are two types of sections in the yum.conf file: main and server. Main defines all the global configuration options. The server section(s) define the entries for each server.
.SH "[main] options"
.LP
The [main] section must exist for yum to do anything. It consists of the following options:
.IP \fBcachedir\fR
directory where yum should store its cache and db files.
.IP \fBdebuglevel\fR
debug level. valid numbers are 0\-10.
.IP \fBlogfile\fR
full directory and file name for where yum should write its log file.
.IP \fBpkgpolicy\fR
package sorting order. Options are \fBnewest\fR and \fBlast\fR. newest is the default. This means that if you have two yum repositories and one of them provides foo\-1.3\-4 and the other provides foo\-1.2\-3, then this rule might help you if you would want foo\-1.2\-3 to appear as available. By default the newest package would appear in the available lists. In this case foo\-1.3\-4. If you don't understand the above then you're best left not including this option at all and letting the default occur.
.SH "[server] options"
.LP
The server section(s) take the following form:
.IP \fBExample\fP:
[serverid]
.br
name=Some name for this server
.br
baseurl=url://path/to/repository/
.br
gpgcheck=[1|0]
.br
.IP \fBserverid
must be a unique name for each server, one word.
.IP \fBbaseurl
must be a url to the directory where the yum repository's 'headers' directory lives.
.IP \fBname
a human readable string describing the repository.
.IP \fBgpgcheck
either '1' or '0'. This tells yum whether or not it should perform a gpg signature check on the packages gotten from this server
.SH "FILES"
.LP
/etc/yum.conf
.SH "SEE ALSO"
.LP
yum(8)