Re: texlive2025, TeXstudio, reinstallation

Greg Bennett <[email protected]>
Newsgroups gmane.comp.tex.live
Message-ID <[email protected]>
Axel, success!!

As far as I could I rid myself of the previous install, then,
I installed re-installed TeXLive according according to 
www.tug.org/texlive/quickinstall.html using the -gui option so I could see
all those possibilities. I chose paper=letter, scheme=full and off it 
went getting 4940 files.

Line 3 -4 if install-tl.log read:
Loading 
https://ca.mirrors.cicku.me/ctan/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Installing TeX Live 2025 from: 
https://ca.mirrors.cicku.me/ctan/systems/texlive/tlnet (verified)

Having had previous experience of the repositories for TeXstudio 
installing its own, partial texlive, I got the 4.9.0
via the ppa on code.launchpad.net/~sunderme/+archive/ubuntu/texstudio

Then tried to hook the two together and failing.

But back to SUCCESS, for which I am your debt. I looked at your image in 
TeXworks_preferences.png,
added (by +) the /usr/local/texlive/2025/bin/x86_64-linux directory, 
used up-arrow to move it to the top,
clicked OK, loaded the test file, hit the green > and, VOILA!, the 
desired result.

Went to a larger test and all went well there too.

I'm used to tabbed files to edit, but that can come (possibly) as I look 
further in preferences.

I already has that directory in a $PATH item in TeXstudio - no luck.

I see your ^^^ above . The head of the log for the larger test is :
<snip>
This is pdfTeX, Version 3.141592653-2.6-1.40.28 (TeX Live 2025) 
(preloaded format=pdflatex 2025.11.24)  24 NOV 2025 20:32
entering extended mode
  restricted \write18 enabled.
  %&-line parsing enabled.
**TEST-LinalgDRv25DEC2017.tex
(./TEST-LinalgDRv25DEC2017.tex
<snip>
no mention of Debian now!

and googled for install texlive not the Debian package. That pointed me 
to get the installer from
mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz

The method I used from  www.tug.ord/texlive/quickinstall.html (above) 
pointed me at
mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz

which is exactly the same as immediately above.

Many, many thanks for your help so far

Cheers
Greg


On 2025-11-24 18:43, Axel E. Retif wrote:
> (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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.