~apt-fast/apt-fast/apt-fast-ro

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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
'\"
.\" Man page for apt-fast.conf
.\"
.\" Copyright: 2012, 2017, 2019 Dominique Lasserre <lasserre.d@gmail.com>
.\"
.\" You may distribute this file under the terms of the GNU General
.\" Public License as published by the Free Software Foundation; either
.\" version 3 of the License, or (at your option) any later version.
.\"
.TH "APT\-FAST.CONF" "5" "2019-02-24" "apt\-fast 1.9" "apt\-fast Manual"
.SH "NAME"
.LP
apt\-fast.conf \- configuration file for \fBapt\-fast\fR(5)
.SH "SYNOPSIS"
Configuration file is sourced by \fBbash\fR(1) to load configuration items, so
use '#' character to start comments. Each configuration item must directly
followed by '=' character, e.g.: _APTMGR=apt-get
.br
It is not recommended to load or execute custom functions.
.SH "DESCRIPTION"
.LP
/etc/apt-fast.conf is the configuration file for \fBapt\-fast\fR(5).
.TP
\fB_APTMGR\fR
Package manager to perform actions with. You may set absolute path to manager.
.br
Default: \fIapt\-get\fR
.TP
\fBDOWNLOADBEFORE\fR
Enable item to suppress \fBapt\-fast\fR(5) confirmation dialog and download
packages directly. 'Enable' means you can set any value to this configuration
item, e.g.: DOWNLOADBEFORE=true
.br
Default: disabled
.TP
\fBMIRRORS\fR
Choose mirror list to speed up downloads from same archive. To select some
mirrors take a look at your distribution's archive mirror lists.
.br
Debian: http://www.debian.org/mirror/list
.br
Ubuntu: https://launchpad.net/ubuntu/+archivemirrors

Include standard mirror in list to associate it with alternative mirrors. List
of different archives is whitespace separated. List of alternative mirrors is
comma separated.

Examples:
To use some German mirrors and official Debian and Ubuntu archives you can use:
.br
MIRRORS=( 'http://ftp.debian.org/debian,http://ftp2.de.debian.org/debian,http://ftp.de.debian.org/debian,ftp://ftp.uni-kl.de/debian'
.br
          'http://archive.ubuntu.com/ubuntu,http://de.archive.ubuntu.com/ubuntu,http://ftp.halifax.rwth-aachen.de/ubuntu,http://ftp.uni-kl.de/pub/linux/ubuntu,http://mirror.informatik.uni-mannheim.de/pub/linux/distributions/ubuntu/' )
.br
To use French Ubuntu mirrors you can use:
.br
MIRRORS=( 'http://fr.archive.ubuntu.com/ubuntu,http://bouyguestelecom.ubuntu.lafibre.info/ubuntu,http://mirror.ovh.net/ubuntu,http://ubuntu-archive.mirrors.proxad.net/ubuntu' )

.br
Default: disabled
.TP
\fB_MAXNUM\fR
This item is optional but is used in proposed download helper command
(configuration item \fB_DOWNLOADER\fR). You can use it as count of maximum
number of parallel connections to retrieve packages.
.br
Default: 5
.TP
\fB_MAXCONPERSRV\fR
Sets the maximum number of connections to same download server.
.br
Default: 10
.TP
\fB_SPLITCON\fR
The maximum simultanious downloads on the same file.
.br
Default: 8
.TP
\fB_MINSPLITSZ\fR
Set this to the minimum file size when to split a file to download it over
multiple connections. Values from 1M to 1024M are supported. Refer to
\fBaria2c\fR(1) for more details.
.br
Default: 1M
.TP
\fB_PIECEALGO\fR
Specifies the file split selection algorithm used by aria2. Possible values
are: default, inorder, geom
.br
Default: default
.TP
\fBDLLIST\fR
Set location of temporary download list file where APT exports URIs of
downloadable packages.
.br
Default: '/tmp/apt-fast.list'
.TP
\fB_DOWNLOADER\fR
Download helper command how to download package URIs stored in \fBDLLIST\fR
file. This command has to support following input file syntax (\\t is a tab
character):
.br
# Comment
.br
MIRROR1\\tMIRROR2\\tMIRROR3...
.br
 out=FILENAME1
.br
MIRROR1\\tMIRROR2\\tMIRROR3...
.br
 out=FILENAME2
.br
etc.

.br
Default: 'aria2c \-\-no-conf \-c \-j ${_MAXNUM} \-x ${_MAXCONPERSRV} \-s ${_SPLITCON} \-i ${DLLIST} \-\-min\-split\-size=${_MINSPLITSZ} \-\-stream\-piece\-selector=${_PIECEALGO} \-\-connect\-timeout=600 \-\-timeout=600 \-m0 \-\-header "Accept: */*"'
.TP
\fBDLDIR\fR
Directory where to download packages with download helper to.
.br
Default: '/var/cache/apt/apt-fast'
.TP
\fBAPTCACHE\fR
APT package cache directory. Set it to APT configuration items Dir::Cache and
Dir::Cache::archives, see also \fBapt.conf\fR(5).
.br
Default: '/var/cache/apt/archives'
.TP
\fBcGreen\fR
Set specific terminal color. Automatically disabled when \fBapt\-fast\fR(5) is
not executed in terminal.
.br
Default: '\\e[0;32m]'
.TP
\fBcRed\fR
See \fBcGreen\fR item.
.br
Default: '\\e[0;31m]'
.TP
\fBcBlue\fR
See \fBcGreen\fR item.
.br
Default: '\\e[0;34m]'
.TP
\fBendColor\fR
See \fBcGreen\fR item. This color resets color to default one.
.br
Default: '\\e[0m'
.TP
\fBAPT_FAST_TIMEOUT\fR
Time in seconds before apt-fast download confirmation dialog times out.
.br
Default: 60
.TP
\fBVERBOSE_OUTPUT\fR
Before download confirmation display aria2 download file if this variable is set. Otherwise display formatted package listing.
.br
Default: unset
.SH "FILES"
.TP
/etc/apt\-fast.conf
Configuration file.
.TP
/tmp/apt-fast.list
Temporary download list file. Configuration item: \fBDLLIST\fR
.TP
/var/cache/apt/apt-file/
Temporary download location where download accelerator retrieves packages
before \fBapt\-fast\fR(8) moves them to package cache. Configuration item:
\fBDLDIR\fR
.SH "SEE ALSO"
.LP
\fBapt-fast\fR(8)
.br
\fBapt\-get\fR(8),
\fBaptitude\fR(8),
\fBaria2c\fR(1)