[tex-live] Alternative to .iso?

Karl Berry karl at freefriends.org
Mon Jul 10 19:19:52 CEST 2006


       a. hacking away at install-tl.sh until I have a non-interactive,
          pre-scripted way of doing the same thing

What I do for my non-interactive test installs is simply feed input to
TL in a here document, see below.  I wrote it for myself, so it's
bare-bones, but maybe it will give you an idea.

A non-interactive variant or front-end or option or whatever for
install-tl would be most welcome, e.g., using the usual configure
--prefix and other options.  If you feel like hacking up something
distributable, that would be greate.

    Recommendations?  

For an installation from scratch, my recommendation would be to use
install-tl, not install-pkg.  (And I also recommend doing the full
[default] installation, so that you never have to use install-pkg
afterwards, either. :)

    (Would an install-pkg of collection-basic be enough to 
    get up and running?)

I don't know.  

BTW, I'm sure the current sources don't install properly.  I haven't
updated the tpm's in quite a while.

Happy installing,
Karl


#!/bin/sh

instdir=/home/karl/src/stry
rm -rf $instdir*

## installation from live tree.
cd $HOME/src/Master || exit 1
script=install-live.sh
## installation from live image.
#cd /home/ftp/texlive/Contents/live || exit 1
#script=install-tl.sh
## installation from inst image.
#cd /home/ftp/texlive/Contents/inst || exit 1
#script=install-tl.sh
#script=$tm/install-compr.sh

# basic scheme
min="s
a"
full="s
f"
# gust scheme
gust="s
d"
# xml scheme
xml="s
h"

# symlinks to other directories
symlink="o
l
$instdir.bin
$instdir.man
$instdir.info
r
"

# install windows binaries
w32="b
n
n
n
n
n
n
n
n
n
y
n
"

use_instdir="d
1
$instdir
r
"

#debug=--debug
#time bash -vx \
 $script $debug <<END_INST
$min
$use_instdir
i
END_INST
status=$?

ls -R $instdir/texmf-var

exit $status


More information about the tex-live mailing list