Texlive Path Setup
Alois Steindl
Alois.Steindl at tuwien.ac.at
Mon Jan 17 19:42:58 CET 2022
Hello,
try to put the texlive path at the beginning of your PATH; in your setup
/usr/bin/latex is found first.
Good luck
Alois
Am 17.01.2022 um 13:07 schrieb Georg Rast:
>
> Hey Everyone,
>
> I ran into a problem setting up texlive on a new machine. I can't get
> PATH setup correctly it seems.
>
> Here is what i get when i try to run 'texdoc bibtex' this is the
> output i get:
>
>
> warning: kpathsea: configuration file texmf.cnf not found in these
> directories:
> /usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c.
> Info: Running Texdoc not installed in the current TEXMFMAIN.
> /usr/local/texlive/2021/bin/x86_64-linux/texdoc:43: module
> 'texdoclib' not found:
> no field package.preload['texdoclib']
> [kpse lua searcher] file not found: 'texdoclib'
> [kpse C searcher] file not found: 'texdoclib'
>
>
> It's just looking through a bunch of standard directories. However i
> did adjust PATH to include my texlive install
> '/usr/local/texlive/2021/bin/x86_64-linux'
>
> Here is the output of 'printenv PATH':
>
>
> /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/local/texlive/2021/bin/x86_64-linux:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
>
>
> Running latex itself doesn't work either. If i try to use it on a
> example file ('latex /tmp/example.tex') i get this:
>
>
> latex /tmp/example.tex
> warning: kpathsea: configuration file texmf.cnf not found in these
> directories:
> /usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c.
> This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live
> 2021/Arch Linux) (preloaded format=latex)
>
> kpathsea: Running mktexfmt latex.fmt
> warning: kpathsea: configuration file texmf.cnf not found in these
> directories:
> /usr/bin:/usr/bin/share/texmf-local/web2c:/usr/bin/share/texmf-dist/web2c:/usr/bin/share/texmf/web2c:/usr/bin/texmf-local/web2c:/usr/bin/texmf-dist/web2c:/usr/bin/texmf/web2c:/usr:/usr/share/texmf-local/web2c:/usr/share/texmf-dist/web2c:/usr/share/texmf/web2c:/usr/texmf-local/web2c:/usr/texmf-dist/web2c:/usr/texmf/web2c://texmf-local/web2c:/://share/texmf-local/web2c://share/texmf-dist/web2c://share/texmf/web2c://texmf-local/web2c://texmf-dist/web2c://texmf/web2c.
> /usr/local/texlive/2021/bin/x86_64-linux/mktexfmt: kpsewhich
> -var-value=TEXMFROOT failed, aborting early.
> BEGIN failed--compilation aborted at
> /usr/local/texlive/2021/bin/x86_64-linux/mktexfmt line 25.
> I can't find the format file `latex.fmt'!
>
>
>
> My gut feeling is that some other program i installed also came with
> the standard texlive installation included in my linux distro (Manjaro).
>
> When i run 'which latex' i get:
>
>
> /usr/bin/latex
>
>
> Which is itself just a symlink to
>
>
> /usr/bin/pdftex
>
>
> The setup was exactly the same i had on my old machine and everything
> worked fine there. I'm honestly a little lost right now
>
> Any tips on how i could resolve this?
>
> Greetings
>
> George
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex-live/attachments/20220117/6154cb9d/attachment-0001.html>
More information about the tex-live
mailing list.