[tex-live] tlpmgui and linux

Reinhard Kotucha reinhard.kotucha at web.de
Wed Jan 3 23:49:30 CET 2007


>>>>> "Tomasz" == Tomasz Łuczak <tlu at technodat.com.pl> writes:

  > Destination of tlpmgui.ini is $TLroot/setuptl

There is one thing which had been changed recently in install-tl.sh:

In TeXLive-2005 the default installation directory had been
/usr/local/texlive/2005 but you can change it the menu if you want.

However, install-tl.sh now looks for the environment variable
TEXLIVE_INSTALL_PREFIX.  If this variable is set, for example

  TEXLIVE_INSTALL_PREFIX=/opt/texlive

and you start install-tl.sh it installs it at /opt/texlive/2006 but
you are still able to select any other directory in the
menu.  TEXLIVE_INSTALL_PREFIX only sets the default value.

If the variable is not set, /usr/local/texlive/2006 will be the
default.

There are two reasons for introducing this variable:

1. We now have a subdirectory for each year's version.  This is the
   only reasonable way to go and I'm sure that there is no need to
   change it in the future.  People can set TEXLIVE_INSTALL_PREFIX
   if they want and do not have to change anything when they install
   TeXLive-2008 or TeXLive-2294.  But the existence of this
   environment variable is not required, it's just for convenience.

2. Commandline completion doesn't work in shell scripts.  But without
   the readline library it doesn't make much fun to enter a new path.
   Hence it is more convenient to set TEXLIVE_INSTALL_PREFIX.

It would be nice if tlpm and tlpmgui could look for this variable too.
I don't think that many people make use of it but I feel happier if
similar programs behave similar.

Cheers,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------




More information about the tex-live mailing list