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.

1
  • 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 3:16
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.

7
  • @Marco I just installed TexLive 2011 from the sources without having an older version on Maverick. Now I would like to install Kile without installing the old TexLive that apt whats to install when I try to install Kile via ppa. The same dependency problems occur when I want to install Kile from the sources. How is it possible to discard to install the old TexLive version?
    – JJD
    Oct 6 '11 at 23:28
  • @JJD: You can install Kile by the terminal: Please see apt-get install. Oct 7 '11 at 9:46
  • @Marco I know. But that includes dependencies which result in installing the old version of TexLive.
    – JJD
    Oct 7 '11 at 15:02
  • @JJD: No first you must download the file with sudo apt-get download and then use dpgk. Oct 7 '11 at 15:36
  • @Marco But still it will download 679MB as you can see in this screenshot.
    – JJD
    Oct 7 '11 at 16:36
5

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

4
  • 1
    You do not need to reboot. Just log out and in again, that should do it.
    – Keks Dose
    Jul 28 '11 at 12:29
  • true and that was what I meant ...
    – user2478
    Jul 28 '11 at 13:07
  • Where does the "zzzz" prefix come from?
    – alonso s
    Dec 9 '18 at 0:45
  • The ifiles n that directory are executed in alphabetical order. With zzzz we can be sure that it will be one of the last ones
    – user2478
    Dec 9 '18 at 6:46
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.