Re: texhax Digest, Vol 2025, Issue 66

David Carlisle <[email protected]> Wed, 6 Aug 2025 10:04:32 +0100
Newsgroups gmane.comp.tex.texhax
Message-ID <CAEW6iOie+U3Mvob_d6e=1Q=Zp-qgukMTVfYrPrz1Jm2EeZ4A+g@mail.gmail.com>
On Wed, 6 Aug 2025 at 09:34, vrgovinda via texhax <[email protected]> wrote:

>
> >  I recommend to look at
> >
> >    https://tug.org/texlive/
> >
> >  first.  There is a list of links at the top with the headline
> >
> >    "Concise instructions, per platform".
> >
> >  It's certainly a good starting point because it contains step-by-step
> >  instructions.
>
> I am a new comer here. I have TeXLive 2022 from Debian Stable which will
> upgrade to TeXLive 2024 shortly.
>
> I wish to have another TeXLive instance in my system (via ISO
> installation) which will be the latest one always.
>
> I was told that one can have 2 versions of TeXLive simultaneously and
> choose which one to use at the time of compilation.
>
> What steps should I follow to achieve this?
>
> This is a production system and the only one I have. So the existing one
> should be intact just in case something goes wrong with the ISO
> installation.
>
> With regards,
> Govinda.
>
>
Install texlive following the instructions at the tug site.
This will put  texlive 2025 in /usr/local/texlive/2025  but will not affect
your existing tex in any way
Do not change your default PATH, in a shell where you want to use tl2025 do

export PATH=/usr/local/texlive/2025/bin/x86_64-linux:$PATH

and all tex related programs will pick up the upstream tex and set their
input paths accordingly (as they are set relative to the location of the
binary)

David