[tex-live] tl17 pretest init

Norbert Preining preining at logic.at
Thu Apr 20 10:37:34 CEST 2017


> Norbert's "new bindings"

Try
	tlmgr shell
You need to (in your program)
* open a pipe to "tlmgr shell"
* read the output of the program
* send commands and interpret the output

Sample session that can be done after asking all the questions
$ tlmgr shell
protocol 1
tlmgr> set repository http://mirror.ctan.org/systems/texlive/tlnet
OK
tlmgr> load remote
OK
tlmgr> set machine-readable 1
OK
tlmgr> setup-local /path/to/new/installation		WARNING: not implemented
OK
tlmgr> install scheme-full
...
OK
tlmgr> quit
Thanks for playing.
$

Note that for now the
	setup-local
is not implemented.

But you can start by writing a front end for tlmgr itself, that would
be already great, and all the functionality is available via tlmgr shell.

Documentation: tlmgr man page (you know by now what a man page is, we 
explained it to you already), or the generated web page on tug.org.
All the actions can be done in shell, too.

Enjoy

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tex-live mailing list