Re: texhax Digest, Vol 2025, Issue 66

David Carlisle <[email protected]> Wed, 6 Aug 2025 10:15:02 +0100
Newsgroups gmane.comp.tex.texhax
Message-ID <CAEW6iOiQdzsWVsiOL1L5NCkGMgQ=fJ2LewFDKWExoDzX4ZKbSw@mail.gmail.com>
On Wed, 6 Aug 2025 at 10:11, vrgovinda <[email protected]> wrote:

>
> > 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)
>
> Thanks David.
> How do I switch to TeXLive 2022 whenever needed?
>

well you could undo the path setting but normally I just quit that shell.
setting the PATH only affects the xterm (or whatever) you are in at that
moment, all other terminal windows will have /usr/bin at the front of
the path and use the system TeX