4

I install TeX Live 2011 in Linux, but i can not configure kile to run the TL11. Can you explain step by step, please?

Solved:

$gedit ~/.profile

and digit

PATH=/usr/local/texlive/2011/bin/i386-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

or

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

for 64 bits.

Regis Santos
  • 14,463
  • 1
    We'd like to keep answers separate from questions, so you should write a separate answer instead of editing your answer into the question. Self-answers are perfectly admissible, and a well-written answer may earn you additional reputation. – Werner Nov 10 '11 at 03:16

3 Answers3

6

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
unset TEXINPUTS
unset TEXMFCONFIG

and restart the system

2

Kile uses only commands like pdflatex. So you have to check whether the symbolic links are created.

Type in the terminal: latex -v

The result should be:

marco@ubuntu:~$ latex -v
pdfTeX 3.1415926-2.3-1.40.12 (TeX Live 2011)
kpathsea version 6.0.1

I guess you don't get this output. In this case the TeXLive documentation is your friend.

Marco Daniel
  • 95,681
2

For the ubuntu 12.04, there is a PPA available: https://launchpad.net/~texlive-backports/+archive/ppa

To install the repository, type in terminal: sudo add-apt-repository ppa:texlive-backports/ppa

Then you can install latex as usual (there are a lot of guides on the web). To check the version of latex you are using type, in the terminal: latex -v

Zanna
  • 21