texlive2025, TeXstudio, reinstallation
Axel E. Retif
axel.retif at gmail.com
Tue Nov 25 00:43:03 CET 2025
(Please put the list in your replies, so others can correct me if I say
something wrong.)
On 11/24/25 13:45, Greg Bennett wrote:
> I have installed TeXworks, no issues during installation.
>
> When I tried to process my simple test file (~/gtest.tex) I immediately
> get the old complaint
>
> This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian)
here is the problem ^^^^^^^
> (preloaded format=pdflatex)
From what I gather, your installed TeXLive from TUG, and set the PATH
according to TUG instructions (where and how?), that's why it worked in
the terminal.
Then, I think, you installed TeXstudio from the repositories, and the
installer (Software Manager, Synaptic or command line) installed the
repositories version of TeXLive (2023) to satisfy dependencies as it
didn't know you already had TL from TUG.
> kpathsea: Running mktexfmt pdflatex.fmt
>
> mktexfmt: No such file or directory
>
> I can't find the format file `pdflatex.fmt'!
>
> which pdflatex.fmt returns nothing
>
> however it is in the directory /usr/local/texlive/2025/texmf-var/web2c/
> pdflatex
>
> (so that the file is /usr/local/texlive/2025/texmf-var/web2c/pdflatex/
> pdflatex.fmt)
>
> Let me ask whether you did anything particular when setting up TeXworks,
> such as
>
> setting paths in addition to those it provides ?
Yes, by all means, *you have to*. Look at the screen capture I sent.
Ignore the first two lines, as those are for my particular setup,
because I have TeXLive in a separate partition that mounts on a TeXLive
folder I have in my home.
See the third line, that reads
/usr/local/texlive/2024/bin/x86_64-linux
That's what yours should look like (but, of course, 2025 instead of
2024). In the Paths section of TeXworks preferences --> Typesetting
click in the + sign and navigate to the
/usr/local/texlive/2025/bin/x86_64-linux
directory and press Choose. Now use the arrows to put that new path on
top of everything else and restart TeXworks, and you're done.
Something similar should work for TeXstudio..., I guess.
Best regards
Axel
More information about the tex-live
mailing list.