Will Sagemath find a "custom" installation of texlive?

40 views
Skip to first unread message

Markus Pis

unread,
Mar 25, 2025, 7:52:04 AMMar 25
to sage-support
Hello, I haven't found an answer to this question, which surprises me. Anyway, I read the instructions to build Sage from source and in the prerequisites it cites a lot of packages that is nice to have.
Among them is texinfo, which in turn will pull the entire texlive from the repository of the OS (OpenSUSE Tumbleweed).
I install texlive from the TUG website every year, so that now I have 2025. I wouldn't like to install also the version from the package manager of OpenSUSE because, although it is supposed not to interfere, you never know.

If I don't install texinfo and therefore none of the other related texlive packages from the official OpenSUSE repository, will I be able to "link" Sagemath to my installation of texlive?

dim...@gmail.com

unread,
Mar 27, 2025, 12:12:26 PMMar 27
to sage-s...@googlegroups.com
Sagemath is checking whether TeX executables, such as pdflatex and
kpsewhich, are present in PATH.
Thus, if your PATH has the non-standard install of TeXLive before the
standard one in your PATH, it will pick it instead of the standard one.
You could also build texinfo from source using this non-standard install
in a similar way, I think.

HTH
Dima
signature.asc

Markus Pis

unread,
Mar 29, 2025, 4:46:55 AMMar 29
to sage-support
Thank you, I had indeed read in another post that Sage looks for the Latex executables in a way similar to 'which'. It did find one in my computer. It all seems to be working fine so far.
Reply all
Reply to author
Forward
0 new messages