3

Today I installed TeX Studio. But it doesn't detect my texlive 2015! When I start TeX Studio, the message pops up:

there was no latex distribution found [...]

The path to my texlive 2015 is ~/.local/texlive

lualatex in terminal results:

~/.local/texlive$ lualatex
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238) 
 restricted \write18 enabled.

I wasn't able to set up TeX Studio manually. So I'm hoping for an automatic setup when TeX Studio detects my texlive2105!

Maybe it doesn't detect it because it's in a hidden folder?

muru
  • 197,895
  • 55
  • 485
  • 740
lrsp
  • 207
  • 1
  • 8
  • Upgrade to Wily and install texlive-full (2015.20150625-1ubuntu1) – A.B. Oct 23 '15 at 17:40
  • how do I install texlive-full? – lrsp Oct 23 '15 at 17:44
  • 1
    sudo apt-get install texlive-full – A.B. Oct 23 '15 at 17:47
  • how do I make sure do uninstall the old texlive? I installed it using the install-tl.tar + this command: TEXLIVE_INSTALL_PREFIX=~/.local/texlive install-tl-/install-tl and also this command: echo export PATH="$(echo ~/.local/texlive//bin/*):$PATH" >> ~/.bashrc – lrsp Oct 23 '15 at 17:49
  • can I just delete the folder /.local/texlive ? – lrsp Oct 23 '15 at 17:50
  • If texlive is in ~/.local/texlive, run rm -r ~/.local/texlive. But I have no idea, without seeing the installer, what the installer has done. – A.B. Oct 23 '15 at 17:51
  • Ok, and remove the entry in your PATH. But that's not really necessary. – A.B. Oct 23 '15 at 17:52
  • How can I open my "PATH"? Is it a file or what is it? (yup, totally new to Linux) – lrsp Oct 23 '15 at 17:57
  • I will write another answer... – A.B. Oct 23 '15 at 18:01

1 Answers1

3

Because you asked for an alternative, texlive-full (2015.20150625-1ubuntu1) is in the Wily repositories.

  1. Upgrade to Wily and install texlive-full:

    sudo apt-get install texlive-full
    
  2. Remove your manually installed version

    rm -r ~/.local/texlive
    

    and correct the PATH in your .bashrc:

    Because you have added the PATH with

    echo export PATH=\"$(echo ~/.local/texlive/*/bin/):\$PATH\" >> ~/.bashrc
    

    remove the entry with the command

    sed -i '/.local\/texlive/d' ~/.bashrc
    
muru
  • 197,895
  • 55
  • 485
  • 740
A.B.
  • 90,397