Pages

mercredi 29 août 2012

Update texlive in ubuntu

I have the old version of Utuntu: karmic, and an old version of texlive 2007. I want to use the latest texlive and install in my ubuntu system.

I used the following steps:

wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
tar -xvf install-tl-unx.tar.gz
cd install-tl*
sudo ./install-tl

The above links use the generic mirror.ctan.org url which autoredirects to a CTAN mirror that should be reasonably nearby and reasonably up to date.
change PATH, I did so by editing ~/.bashrc:  

 PATH=/usr/local/texlive/2012/bin/i386-linux:$PATH

If you're re-installing after a previous attempt, be sure to completely remove your old installation. By default, this would be in these two directories (on Unix-like systems):
rm -rf /usr/local/texlive/2012
rm -rf ~/.texlive2012


After a successful installation, try simple test of latex compilation.


The default is to configure for A4 paper.  To make the default be
8.5x11 letter-size paper, you can use the ‘o’ command before installing), or run tlmgr paper letter after installation (and after setting the PATH).




Aucun commentaire:

Enregistrer un commentaire