I have found How to configure kile to run texlive 2011? and this is my problem.

I have installed Ubuntu's TeXLive with sudo apt-get install texlive and TeXLive 2011 using the net installer from CTAN (There says there is no problem have both installations). I tried latex -v and I found

pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian)
kpathsea version 5.0.0
Copyright 2009 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.2.42; using libpng 1.2.42
Compiled with zlib; using zlib
Compiled with poppler version 0.12.4

and did put the following script as zzzz-texlive.sh into the directory /etc/profile.d/:

export PATH=/usr/local/texlive/2011/bin/`uname -i`-linux:$PATH
export MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPATH
export INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH

and restarted the system.

As explain in by the net installer, restarted the system but latex -v says TeX Live 2009/Debian like in the first time.

So, I think I'm not using TeX Live 2011.

How can I use this TeX Live packages in my Ubuntu 10.04 LTS?


2 Answers 2


It's quite strange that uname -i gives "unknown". However, the TeX Live installer should have guessed your architecture. So, look at the output of

ls /usr/local/texlive/2011/bin

and use that; since you're on a 64 bit machine, it should be


so the first line to be saved in zzzz-texlive.sh should be

export PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH

A logout-login cycle should be sufficient to make the new setting work.

  • Thx! Worked. latex -v returned pdfTeX 3.1415926-2.3-1.40.12 (TeX Live 2011)
    – GarouDan
    Oct 18, 2011 at 10:14

After installing TeXLive2011 type in your case (Ubuntu 64 bits),

$gedit ~/.profile

and type in the file

PATH=/usr/local/texlive/2011/bin/x86_64-linux:$PATH; export PATH MANPATH=/usr/local/texlive/2011/texmf/doc/man:$MANPATH; export MANPATH INFOPATH=/usr/local/texlive/2011/texmf/doc/info:$INFOPATH; export INFOPATH

and restart. Tell me if it worked.

  • Thx too @Regis da Silva!
    – GarouDan
    Oct 18, 2011 at 10:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .