Feb 21, 2011

How to install TeXLive 2010 on Ubuntu 10.10

This is a easy to follow installation guide for TeX Live 2010 via iso file.

1.) Download TeXLive 2010 iso file

2.) Install perl-tk package for a GUI installation.

sudo apt-get install perl-tk

3.) Mount the iso:

sudo mount -o loop texlive2010*.iso /mnt

Go to the mount directory and start installing in GUI:
cd /mnt
sudo ./install-tl --gui

4.) After installation, it prompts something like this:
Add /usr/local/texlive/2010/texmf/doc/man to MANPATH.
Add /usr/local/texlive/2010/texmf/doc/info to INFOPATH.

Most importantly, add /usr/local/texlive/2010/bin/x86_64-linux
to your PATH for current and future sessions.
Edit /etc/bash.bashrc:
sudo vi /etc/bash.bashrc

add following in the end:
PATH=/usr/local/texlive/2010/bin/x86_64-linux:$PATH; export PATH
MANPATH=/usr/local/texlive/2010/texmf/doc/man:$MANPATH; export MANPATH
INFOPATH=/usr/local/texlive/2010/texmf/doc/info:$INFOPATH; export INFOPATH


Edit /etc/manpath.config:
sudo vi /etc/manpath.config

under following :
# set up PATH to MANPATH mapping

add this line:
MANPATH_MAP /usr/local/texlive/2010/bin/x86_64-linux /usr/local/texlive/2010/texmf/doc/man
and

And you are done.


EmoticonEmoticon