diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-03 22:05:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-03 22:05:03 +0000 |
commit | 1a3991f41a8a8f3f6c693951e333c6c417688cb8 (patch) | |
tree | a434ed608a433489fb0eeb732fe0751e46076508 /Master/texmf-doc/source | |
parent | cad22e5a1cceb04cd561c7d2706c729ad7b88683 (diff) |
noninteractive install
git-svn-id: svn://tug.org/texlive/trunk@2582 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-doc/source')
-rw-r--r-- | Master/texmf-doc/source/english/texlive-en/live.tex | 56 |
1 files changed, 54 insertions, 2 deletions
diff --git a/Master/texmf-doc/source/english/texlive-en/live.tex b/Master/texmf-doc/source/english/texlive-en/live.tex index 15659ff75ce..c73b0d45394 100644 --- a/Master/texmf-doc/source/english/texlive-en/live.tex +++ b/Master/texmf-doc/source/english/texlive-en/live.tex @@ -782,6 +782,46 @@ shell prompt as usual. \textifindoubt +\subsubsection{Non-interactive installation} +\label{sec:noninteractive-install} + +It is possible to override the default directories with environment +variables, and then install non-interactively. Example: +\begin{alltt} +> \Ucom{TEXLIVE_INSTALL_PREFIX=/opt/texlive} +> \Ucom{export TEXLIVE_INSTALL_PREFIX} +> \Ucom{echo i | sh install-tl.sh} +\end{alltt} + +The \envname{TEXLIVE\_INSTALL\_PREFIX} variable overrides the default +location of \dirname{/usr/local/texlive}, leaving all else +unchanged---so with the above invocation, the main installation will go +to \dirname{/opt/texlive/2006}. + +In the usual Unix way, the final \Ucom{echo i} can be replaced by any +sequence of input commands via a here document, so any sequence of +commands can be scripted. + +Here are all the possible overrides: + +\begin{ttdescription} +\item [TEXLIVE\_INSTALL\_PREFIX] + Override \dirname{/usr/local/texlive}. +\item [TEXLIVE\_INSTALL\_TEXDIR] + Override \dirname{\$TEXLIVE_INSTALL_PREFIX}/2006. +\item [TEXLIVE\_INSTALL\_TEXMFLOCAL] + Override \dirname{\$TEXLIVE_INSTALL_PREFIX/texmf-var}. +\item [TEXLIVE\_INSTALL\_TEXMFSYSVAR] + Override \dirname{\$TEXLIVE_INSTALL_TEXDIR/texmf-var}. +\item [TEXLIVE\_INSTALL\_TEXMFHOME] + Override \dirname{\$HOME/texmf}. +\end{ttdescription} + +It would be better to support a standard \acro{GNU}-style +\filename{configure} with options, instead of these environment +variables. Volunteers are welcome! + + % \subsection{Installing individual packages to disk} @@ -3180,9 +3220,13 @@ MetaPost also received a notable update, with more planned for the future (\url{http://tug.org/metapost/articles}), likewise pdf\TeX{} (\url{http://tug.org/applications/pdftex}) -The (plain) \texttt{tex} program no longer reads \texttt{\%&} first +The (plain) \texttt{tex} program no longer reads \texttt{\%\&} first lines to determine what format to run; it is the pure Knuthian \TeX. -(\LaTeX\ and everything else do still read \texttt{\%&}). +(\LaTeX\ and everything else do still read \texttt{\%\&} lines). + +The installation scripts now accept various environment variables to +allow for non-interactive installation; see +section~\ref{sec:noninteractive-install}. Of course the year also saw (the usual) hundreds of other updates to packages and programs. As usual, please check \acro{CTAN} @@ -3193,6 +3237,14 @@ web interface for viewing the tree, as linked from our home page. Although not visible in the final distribution, we expect this will provide a stable development foundation for future years. +Finally, in May 2006 Thomas Esser announced that he would no longer be +updating te\TeX{} (\url{http://tug.org/tetex}). As a result, there was +been a surge of interest in \TL{}, especially among \acro{GNU}/Linux +distributors. (There is a new \texttt{tetex} installation scheme in +\TL{}, which provides an approximate equivalent.) We hope this will +eventually translate to improvements in the \TeX\ environment for +everyone. + \subsection{Future} |