[tex-live] A Simple Recommendation

Norbert Preining preining at logic.at
Fri Sep 21 01:58:20 CEST 2018


Hi Lahcene,

thanks for your message.

> TeXLive and TeXstudio many times because of a problem of not being able to
> compile a simple file. Until I found this incredible answer here
> <https://tex.stackexchange.com/a/177073/165284>.

This is completely unrelated out of the following reasons:
* you originally posted that you installed TeX Live from TUG into
  /usr/local/texlive/2012
* you installed only the basic, which, by its description, does not
  provide a full environment. We strongly suggest installing the 
  default texlive-full.
* the answer you linked to is about installing the Debian/Ubuntu version
  of TeX Live, which is again something different.

So, without going down to details, I guess what has happened:
- you installed TeX Live from TUG into /usr/local/texlive/2012
- you did NOT adjust the PATH setting globally (in /etc/profile or
  similar) but locally in ~/.bashrc or similar
- you started TeXstudio from your Desktop Environment, but there your
  local PATH settings did not take effect
- TeXstudio couldn't find any tex because, well, as I wrote, it is
  not in the PATH
- you called "apt-get install texlive-fonts-recommended" which installed
  TeX Live from Debian/Ubuntu into /usr/bin, which is in the PATH of
  the default desktop environment
- TeXstudio now uses the TeX Live from Debian/Ubuntu in /usr/bin instead
  of the one you installed in /usr/local/texlive/2012

Anyway, there are many answers on tex.sx about this, and this is nothing
*we* as TeX Live developers can fix for you, because it is your computer
and we cannot do magic tricks there.

Best

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tex-live mailing list