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 188.8.131.52; using zlib 184.108.40.206 Compiled with poppler version 0.12.4
and did put the following script as
zzzz-texlive.sh into the directory
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 unset TEXINPUTS unset TEXMFCONFIG
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?