Difference between revisions of "User:Ms/TeX Live Manual Installation"

From ArchWiki
Jump to: navigation, search
(fix formatting, add template:deletion)
m (Ms moved page TeX Live/Manual Installation to User:TeX Live Manual Installation: Keep for my own note.)
(No difference)

Revision as of 18:48, 31 August 2015

Tango-edit-cut.pngThis section is being considered for removal.Tango-edit-cut.png

Reason: None of these instructions are Arch-specific, and links for upstream instructions are already included in TeX_Live#Alternative:_TeX_Live_network_install. (Discuss in User talk:Ms/TeX Live Manual Installation#)

This is a manual to install Tex Live in home directory for single user.

For a thorough installation instruction, you can view it at,

Package Requirements

  • wget
  • perl-tk (for GUI installation)
Warning: GUI installation is not recommended, because in installation version install-tl-20150830 some directories is not set correctly after installation.


This is assuming that,

  • we will install Tex Live in $HOME/texlive,
  • using zsh as shell.

Step by step installation instruction,

  • Set variable for Tex Live installation directory,
$ export TEXLIVE=$HOME/texlive
  • Save Tex Live installation directory to shell script,
$ export SHELL_ENV=$HOME/.zshenv
$ echo "TEXLIVE=$HOME/texlive" >> $SHELL_ENV
If you use other shell (e.g. bash) replace ".zshenv" with your shell environment script.
  • Download network installer,
$ wget -c http://ossm.utm.my/tex-archive/systems/texlive/tlnet/install-tl-unx.tar.gz
  • Extract the installer,
$ tar zxvf install-tl-unx.tar.gz
  • Change directory to extracted file,
$ cd install-tl-[date]
Replace [date] with installer version.
  • Set texlive installation directory,
$ export TEXLIVE_INSTALL_PREFIX=~/texlive
  • Execute installer,
$ ./install-pl
To install with GUI, add "-gui" to parameter.
  • Follow the instruction and customize your installer.
  • Set portable installation.
  • Press "I" for installing portable installation.

Post Installation

Add Tex Live bin, man, and info path to local environment.

$ echo "export PATH=$TEXLIVE/bin/x86_64-linux:$PATH" >> $SHELL_ENV
$ echo "export MANPATH=$TEXLIVE/texmf-dist/doc/man:$MANPATH" >> $SHELL_ENV
$ echo "export INFOPATH=$TEXLIVE/texmf-dist/doc/info:$INFOPATH" >> $SHELL_ENV

Relogin or open new terminal to activate new PATH.

Now, you can install additional Tex Live packages using tlmgr.

For example, to install latex,

$ tlmgr latex latex-bin

and additional recommended packages,

$ tlmgr install amsmath babel carlisle ec geometry graphics hyperref lm  marvosym oberdiek parskip pdftex-def url