[tex-live] A Simple Recommendation

Lahcene ROUANI rouani.lahcene at gmail.com
Fri Sep 21 02:43:55 CEST 2018

Thank you for your reply.

 I want to mention that many answers in the Tex.se site are misleading. One
reason is that You have gave me good information about setting a path
locally or globally. I didn't came across any of this before.

Well. I have installed the TeXlive from DVD (3.48 GB), which I am sure that
it installed everything.

 My problem is that I probably didn't set the path correctly. Could you
give some directions about how to set the path globally in Ubuntu 18.04 .
And about refreshing the file name database. And how can I check all of

Because I am having a problem of missing packages and classes which I have
checked that they are located in use/local/texlive/2018/.....

Best regards

On Fri, Sep 21, 2018, 00:58 Norbert Preining <preining at logic.at> wrote:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20180921/ba810ff5/attachment.html>

More information about the tex-live mailing list