Texlive Path Setup
Georg Rast
rastiber at web.de
Mon Jan 17 13:07:51 CET 2022
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/04611c97/attachment.html>
More information about the tex-live
mailing list.