Page 1

Hidden Treasures: INSTALLATION

LaTeX The quickest installation of the TeX Live (TeXLive) 2013 in Ubuntu (32-bit) If you want to have a modern and advanced typesetting tool, install the most recent and complete LaTeX distribution - TeX Live 2013!

Pre-install: acquiring the ISO using the torrent network Go to page. The ISO image is available as texlive2013.torrent (currently it is the following link) Start it with your torrent client. The ISO image is quite large file (with .iso extension) but the download speed due to many peers in my case was really high (sometimes almost 2 MB/s). Let’s assume that the ISO file will be saved to ˜ Downloads directory.

Pre-install: cleanup If you’re installing when you already have an old installation (e.g. TeX Live 2012), be sure to completely remove your old installation. By default, this would be in these two directories: $ sudo rm -rf /usr/local/texlive/2012 $ sudo rm -rf ~/.texlive2012

Mount an ISO Image Open terminal window (Ctrl+Alt+T) and create a mount point: $ sudo mkdir /mnt If the downloaded ISO image (e.g. .iso) is in the Downloads directory, change the current directory to $ cd ~/Downloads If you want to mount the image to make the contents available for installation or browsing, type the following to mount it: $ sudo mount -t iso9660 -o ro,loop,noauto texlive2013-20130530.iso /mnt


Go to /mnt directory $ cd /mnt

Installation You do not need to be root to install, use, or manage TeX Live, however I prefer to install as administrator.

Hidden Treasures: INSTALLATION

LaTeX Once you have the software, run the install-tl script with administrative privileges to install: $ sudo ./install-tl Loading ./tlpkg/texlive.tlpdb Installing TeX Live 2013 from: . Platform: i386-linux => 'Intel x86 with \ GNU/Linux' Distribution: inst (compressed) Directory for temporary files: /tmp ======================> TeX Live \ installation procedure \ <===================== ======> Letters/digits in <angle \ brackets> indicate <======= ======> menu items for commands or \ options <======= Detected platform: Intel x86 with \ GNU/Linux <B> binary platforms: 1 out of 13 <S> set installation scheme (scheme-full) <C> customizing installation collections

44 collections out of 45, disk space \ required: 3314 MB <D> directories:

TEXDIR (the main TeX directory):


LATEX TEXMFLOCAL (directory for site-wide \ local files):

/usr/local/texlive/texmf-local Blog, July 16th, 9:43

page 2 of 5

Hidden Treasures:


INSTALLATION TEXMFSYSVAR (directory for variable and \ automatically generated data):


TEXMFSYSCONFIG (directory for local \ config):


TEXMFVAR (personal directory for \ variable and automatically generated data):


TEXMFCONFIG (personal directory for \ local config): ~/.texlive2013/texmf-config

TEXMFHOME (directory for user-specific \ files):

~/texmf <O> options:


[ ] use letter size instead of A4 by \ default [X] allow execution of restricted list \ of programs via \write18 [X] create all format files [X] install macro/font doc tree [X] install macro/font source tree [X] after install, use tlnet on CTAN for \ package updates <V> set up for portable installation

Blog, July 16th, 9:43

page 3 of 5

Hidden Treasures: INSTALLATION

LaTeX Actions:

<I> start installation to hard disk <H> help <Q> quit Enter command: I Time used for installing the packages: \ 08:37 ... [... when done, see below for \ post-install ...] ...

See /usr/local/texlive/2013/index.html for links to documentation. The TeX Live \ web site contains updates and corrections: \ TeX Live is a joint project of the TeX \ user groups around the world; please consider supporting it by joining \ the group best for you. The list of user groups is on the web at \ Add \ /usr/local/texlive/2013/texmf-dist/doc/man \ to MANPATH, if not dynamically found. Add \ /usr/local/texlive/2013/texmf-dist/doc/info \ to INFOPATH.


Most importantly, add \ /usr/local/texlive/2013/bin/i386-linux to your PATH for current and future \ sessions. Welcome to TeX Live! Logfile: \ /usr/local/texlive/2013/install-tl.log

Blog, July 16th, 9:43

page 4 of 5

Hidden Treasures: INSTALLATION

LaTeX Update the installation Type the command $ sudo /usr/local/texlive/2013/bin/i386-linux/tlmgr update –self –all As alternative, if you want to update the files using GUI, use the following command $ sudo /usr/local/texlive/2013/bin/i386-linux/tlmgr -gui In the window, in top right corner first press ’Load default’ button and after getting an address of the repository, press ’Update all installed’ button, close the window or exit. Setting environment variables Add new paths to your environment variables. Open the terminal and type $ gedit ~/.profile then add finally the lines PATH=/usr/local/texlive/2013/bin/i386-linux:$PATH; export PATH MANPATH=/usr/local/texlive/2013/texmf-dist/doc/man:$MANPATH; export MANPATH INFOPATH=/usr/local/texlive/2013/texmf-dist/doc/info:$INFOPATH; export INFOPATH

Finally do the MANPATH mapping, open the terminal and type $ sudo gedit /etc/manpath.config Find the section with # set up PATH to MANPATH mapping. At the end of this section add the following line. MANPATH_MAP /usr/local/texlive/2013/bin/i386-linux /usr/local/texlive/2013/texmf-dist/doc/man

Now we can close the gedit window.

Final steps Finally, close the terminal window that you have used for the installation and to unmount the ISO image type the command: $ cd && sudo umount /mnt After restart or logout/login again your installation is complete.


Blog, July 16th, 9:43

page 5 of 5

Installation of the TeXLive 2013 in Ubuntu  

The quickest installation of the TeXLive 2013 in Ubuntu 32-bit

Read more
Read more
Similar to
Popular now
Just for you