summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/man/man1/tlmgr.1
blob: 56a69c675f4271727baea9a52bc376cb2e12d438 (plain)
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
.\" Automatically generated by Pod::Man 2.16 (Pod::Simple 3.07)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sh \" Subsection heading
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
.    de IX
.    tm Index:\\$1\t\\n%\t"\\$2"
..
.    nr % 0
.    rr F
.\}
.el \{\
.    de IX
..
.\}
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
.    \" fudge factors for nroff and troff
.if n \{\
.    ds #H 0
.    ds #V .8m
.    ds #F .3m
.    ds #[ \f1
.    ds #] \fP
.\}
.if t \{\
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
.    ds #V .6m
.    ds #F 0
.    ds #[ \&
.    ds #] \&
.\}
.    \" simple accents for nroff and troff
.if n \{\
.    ds ' \&
.    ds ` \&
.    ds ^ \&
.    ds , \&
.    ds ~ ~
.    ds /
.\}
.if t \{\
.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
.    \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
.    \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
.    \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
.    ds : e
.    ds 8 ss
.    ds o a
.    ds d- d\h'-1'\(ga
.    ds D- D\h'-1'\(hy
.    ds th \o'bp'
.    ds Th \o'LP'
.    ds ae ae
.    ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "TLMGR 1"
.TH TLMGR 1 "2008-07-22" "perl v5.10.0" "User Contributed Perl Documentation"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
tlmgr \- the TeX Live Manager
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
tlmgr [\fIoption\fR]... \fIaction\fR [\fIoption\fR]... [\fIoperand\fR]...
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\fBtlmgr\fR manages an existing TeX Live installation, both packages and
configurations options.
.SH "OPTIONS"
.IX Header "OPTIONS"
The following options have to be given \fIbefore\fR you specify the action.
.IP "\fB\-\-location\fR \fIlocation\fR" 8
.IX Item "--location location"
Specifies the location from which packages should be installed or
updated, overriding the location found in the installation's \s-1TLPDB\s0.
.IP "\fB\-\-gui\fR" 8
.IX Item "--gui"
Instead of starting the \s-1GUI\s0 via the \fBgui\fR action, you can also give this
option together with an action from above and will be brought directly
into the respective screen of the \s-1GUI\s0. So calling
.Sp
.Vb 1
\&  tlmgr \-\-gui update
.Ve
.Sp
will bring you directly into the update screen.
.IP "\fB\-\-gui\-lang\fR" 8
.IX Item "--gui-lang"
Normally the \s-1GUI\s0 tries to deduce your language from the environment
(on Windows via the registry, on Unix via \s-1LC_MESSAGES\s0). If that fails 
you can select a different language by giving this option a two-letter
language code.
.PP
The standard options are also accepted: \fB\-\-help/\-h/\-?\fR, \fB\-\-version\fR,
\&\fB\-q\fR (no informational messages), \fB\-v\fR (debugging messages, can be
repeated).  For more information about the latter, see the
TeXLive::TLUtils documentation.
.SH "ACTIONS"
.IX Header "ACTIONS"
.IP "\fBhelp\fR" 8
.IX Item "help"
Gives this help page.
.IP "\fBgui\fR" 8
.IX Item "gui"
Start the graphical user interface.
.IP "\fBinstall [\f(BIoption\fB]... \f(BIpkg\fB...\fR" 8
.IX Item "install [option]... pkg..."
Install all \fIpkg\fRs given on the command line. By default this installs
all packages that the given \fIpkg\fRs are dependent on, also.  Options:
.RS 8
.IP "\fB\-\-no\-depends\fR" 8
.IX Item "--no-depends"
Do not install dependencies.  Bydefault, installing a package ensures
that all dependencies of this package are fulfilled.
.IP "\fB\-\-dry\-run\fR" 8
.IX Item "--dry-run"
Nothing is actually installed; instead, the actions to be performed are
written to the terminal.
.RE
.RS 8
.RE
.IP "\fBupdate [\f(BIoption\fB] [pkg [pkg ...]]\fR" 8
.IX Item "update [option] [pkg [pkg ...]]"
Updates the packages given as arguments to the latest version available
at the installation source. Options:
.RS 8
.IP "\fB\-\-list\fR" 8
.IX Item "--list"
List only which packages could be updated.
.IP "\fB\-\-all\fR" 8
.IX Item "--all"
Update all package.
.IP "\fB\-\-dry\-run\fR" 8
.IX Item "--dry-run"
Nothing is actually installed; instead, the actions to be performed are
written to the terminal.
.IP "\fB\-\-backupdir directory\fR" 8
.IX Item "--backupdir directory"
If this option is given it must specify an existing directory where a 
snapshot of the current package as installed will be saved before 
the packages is updated. This way one can go back in case an update
turned out as not working. See the action \fBrestore\fR for details.
.RE
.RS 8
.RE
.IP "\fBbackup \-\-backupdir dir [\-\-all] [pkg [pkg]]\fR" 8
.IX Item "backup --backupdir dir [--all] [pkg [pkg]]"
Makes a backup of the given packages (or all packages with \fB\-\-all\fR) to
the directory specified with \fB\-\-backupdir\fR (must exist and be a writable).
.Sp
Warning: Making a backup of \fIall\fR packages will need quite some space and
time.
.Sp
Options:
.RS 8
.IP "\fB\-\-backupdir directory\fR" 8
.IX Item "--backupdir directory"
This is an obligatory argument and has to specify a directory where
backups are to be found.
.IP "\fB\-\-all\fR" 8
.IX Item "--all"
Make a backup of all packages in the texlive.tlpdb
.RE
.RS 8
.RE
.IP "\fBrestore \-\-backupdir dir [pkg [rev]]\fR" 8
.IX Item "restore --backupdir dir [pkg [rev]]"
If no \fBpkg\fR and \fBrev\fR is given list all packages the available 
backup revisions.
.Sp
With \fBpkg\fR given but without \fBrev\fR lists all available backup revisions
of \fBpkg\fR.
.Sp
With both \fBpkg\fR an \fBrev\fR given tries to restore the package from its
backup.
.Sp
The option \fB\-\-backupdir dir\fR is obligatory and has to specify a directory
with backups.
.Sp
Options:
.RS 8
.IP "\fB\-\-dry\-run\fR" 8
.IX Item "--dry-run"
Nothing is actually restored; instead, the actions to be performed are
written to the terminal.
.IP "\fB\-\-backupdir directory\fR" 8
.IX Item "--backupdir directory"
This is an obligatory argument and has to specify a directory where
backups are to be found.
.RE
.RS 8
.RE
.IP "\fBremove [\f(BIoption\fB]... \f(BIpkg\fB...\fR" 8
.IX Item "remove [option]... pkg..."
Remove all \fIpkg\fRs given on the command line.  Removing a collection
will remove all package dependencies (but not collection dependencies)
in that collection, unless \f(CW\*(C`\-\-no\-depends\*(C'\fR is specified.  However, when
removing a package, dependencies are never removed.
.Sp
Removing a package which is referenced as a dependency in another
collection or scheme is disallowed, unless \f(CW\*(C`\-\-force\*(C'\fR is specified.
.Sp
Options:
.RS 8
.IP "\fB\-\-no\-depends\fR" 8
.IX Item "--no-depends"
Do not remove dependent packages.
.IP "\fB\-\-force\fR" 8
.IX Item "--force"
By default, when removing a package or collection would invalidate a
dependency of another collection/scheme, the package will not be removed
and a warning issued.  With this option, the package will be removed
unconditionally.  Use with care.
.IP "\fB\-\-dry\-run\fR" 8
.IX Item "--dry-run"
Nothing is actually installed; instead, the actions to be performed are
written to the terminal.
.RE
.RS 8
.RE
.IP "\fBoption [show]\fR" 8
.IX Item "option [show]"
.PD 0
.IP "\fBoption \f(BIkey\fB [\f(BIvalue\fB]\fR" 8
.IX Item "option key [value]"
.PD
The first form shows the settings currently saved in the \s-1TLPDB\s0.
.Sp
In the second form, if \fIvalue\fR is missing the setting for \fIkey\fR is
displayed.  If \fIvalue\fR is present, \fIkey\fR is set to \fIvalue\fR.
.Sp
Possible values for \fIkey\fR are:
\&\f(CW\*(C`location\*(C'\fR (default installation source),
\&\f(CW\*(C`formats\*(C'\fR (create formats at installation time),
\&\f(CW\*(C`docfiles\*(C'\fR (install documentation files),
\&\f(CW\*(C`srcfiles\*(C'\fR (install source files).
.IP "\fBpaper a4\fR" 8
.IX Item "paper a4"
.PD 0
.IP "\fBpaper letter\fR" 8
.IX Item "paper letter"
.IP "\fB[xdvi|dvips|pdftex|dvipdfm|dvipdfmx|context] paper [help|papersize|\-\-list]\fR" 8
.IX Item "[xdvi|dvips|pdftex|dvipdfm|dvipdfmx|context] paper [help|papersize|--list]"
.PD
Configures the system wide paper settings, either for all programs in
one go, or just for the specified program. The last form with \fB\-\-list\fR
outputs all known papersizes for the specified program.
.IP "\fBarch list\fR" 8
.IX Item "arch list"
Prints the names of the systems available at the default install location.
.IP "\fBarch add \f(BIarch\fB...\fR" 8
.IX Item "arch add arch..."
Add executables for the specified \fIarch\fRes to the installation.
Options:
.RS 8
.IP "\fB\-\-dry\-run\fR" 8
.IX Item "--dry-run"
Nothing is actually installed; instead, the actions to be performed are
written to the terminal.
.RE
.RS 8
.RE
.IP "\fBsearch [\f(BIoption\fB...] \f(BIwhat\fB\fR" 8
.IX Item "search [option...] what"
By default searches the names, short and long descriptions of all
locally installed packages for the given argument (interpreted as
regexp).  Options:
.RS 8
.IP "\fB\-\-file\fR" 8
.IX Item "--file"
List all filenames containing \fIwhat\fR.
.IP "\fB\-\-global\fR" 8
.IX Item "--global"
Search the TeX Live Database of the installation medium, instead of the
local installation.
.RE
.RS 8
.RE
.IP "\fBshow \f(BIpkg\fB...\fR" 8
.IX Item "show pkg..."
Shows information about \fIpkg\fR: the name, category, installation status,
short and long description.  Searches in the remote installation source
for the package if it is not locally installed.
.IP "\fBlist [collections|schemes]\fR" 8
.IX Item "list [collections|schemes]"
With no argument, lists all packages available at the default install
location, prefixing those already installed with \f(CW\*(C`i \*(C'\fR.
.Sp
With an argument lists only collections or schemes, as requested.
.IP "\fBuninstall\fR" 8
.IX Item "uninstall"
Uninstalls the entire TeX Live installation.  Options:
.RS 8
.IP "\fB\-\-force\fR" 8
.IX Item "--force"
Do not ask for confirmation, remove immediately.
.RE
.RS 8
.RE
.IP "\fBgenerate language\fR" 8
.IX Item "generate language"
.PD 0
.IP "\fBgenerate language.dat\fR" 8
.IX Item "generate language.dat"
.IP "\fBgenerate language.def\fR" 8
.IX Item "generate language.def"
.IP "\fBgenerate fmtutil\fR" 8
.IX Item "generate fmtutil"
.IP "\fBgenerate updmap\fR" 8
.IX Item "generate updmap"
.PD
The \fIgenerate\fR action overwrites any manual changes made in the
respective files: it recreates them from scratch.
.Sp
For fmtutil and the language files, this is normal, and both the TeX
Live installer and \f(CW\*(C`tlmgr\*(C'\fR routinely call \fIgenerate\fR for them.
.Sp
For updmap, however, neither the installer nor \f(CW\*(C`tlmgr\*(C'\fR use \fIgenerate\fR,
because the result would be to disable all maps which have been manually
installed via \f(CW\*(C`updmap\-sys \-\-enable\*(C'\fR, e.g., for proprietary or local
fonts.  Only the changes in the \f(CW\*(C`\-\-localcfg\*(C'\fR file mentioned below are
incorporated by \fIgenerate\fR.
.Sp
On the other hand, if you only use the fonts and font packages within
TeX Live, there is nothing wrong with using \fIgenerate updmap\fR.  Indeed,
we use it to generate the \f(CW\*(C`updmap.cfg\*(C'\fR file that is maintained in the
live source repository.
.Sp
In more detail: \fIgenerate\fR remakes any of the four config files
\&\f(CW\*(C`language.dat\*(C'\fR, \f(CW\*(C`language.def\*(C'\fR, \f(CW\*(C`fmtutil.cnf\*(C'\fR, and \f(CW\*(C`updmap.cfg\*(C'\fR from
the information present in the local \s-1TLPDB\s0. If the files
\&\f(CW\*(C`language\-local.dat\*(C'\fR, \f(CW\*(C`language\-local.def\*(C'\fR, \f(CW\*(C`fmtutil\-local.cnf\*(C'\fR, or
\&\f(CW\*(C`updmap\-local.cfg\*(C'\fR are present under \f(CW\*(C`TEXMFLOCAL\*(C'\fR in the respective
directories, their contents will be simply merged into the final files,
with no error checking of any kind.
.Sp
The form \f(CW\*(C`generate language\*(C'\fR recreates both the \f(CW\*(C`language.dat\*(C'\fR and the
\&\f(CW\*(C`language.def\*(C'\fR files, while the forms with extension only recreates
the given file.
.Sp
Options:
.RS 8
.IP "\fB\-\-dest\fR \fIoutput file\fR" 8
.IX Item "--dest output file"
specifies the output file (defaults to the respective location in
\&\f(CW\*(C`TEXMFSYSVAR\*(C'\fR).  If \fB\-\-dest\fR is given to \f(CW\*(C`generate language\*(C'\fR, its
value will be used for the \f(CW\*(C`language.dat\*(C'\fR output, and \f(CW\*(C`.def\*(C'\fR will be
appended to the value for the name of the \f(CW\*(C`language.def\*(C'\fR output file.
(This is just to avoid overwriting; if you really want a specific name
for each output file, we recommend invoking \f(CW\*(C`tlmgr\*(C'\fR twice.)
.IP "\fB\-\-localcfg\fR \fIlocal conf file\fR" 8
.IX Item "--localcfg local conf file"
specifies the (optional) local additions (defaults to the respective
location in \f(CW\*(C`TEXMFSYSVAR\*(C'\fR).
.RE
.RS 8
.Sp
The respective locations are as follows:
  \f(CW\*(C`tex/generic/config/language.dat\*(C'\fR (and \f(CW\*(C`language\-local.dat\*(C'\fR)
  \f(CW\*(C`tex/generic/config/language.def\*(C'\fR (and \f(CW\*(C`language\-local.def\*(C'\fR)
  \f(CW\*(C`web2c/fmtutil.cnf\*(C'\fR (and \f(CW\*(C`fmtutil\-local.cnf\*(C'\fR)
  \f(CW\*(C`web2c/updmap.cfg\*(C'\fR (and \f(CW\*(C`updmap\-local.cnf\*(C'\fR)
.RE
.SH "AUTHORS AND COPYRIGHT"
.IX Header "AUTHORS AND COPYRIGHT"
This script and its documentation were written for the TeX Live
distribution (<http://tug.org/texlive>) and both are licensed under the
\&\s-1GNU\s0 General Public License Version 2 or later.