Using system python, maxima, jupyter, sphinx in sage build

21 views
Skip to first unread message

B Thomas

unread,
Nov 4, 2025, 3:36:10 PM (2 days ago) Nov 4
to sage-support
Hi,

I am able to build and install Sagemath version 10.7 successfully on my Debian v13 system. However I find it also builds and installs Python, Maxima,  Jupyter, and Sphinx even though the same version of Python (3.13.5) is already installed in my system. I even installed the sage specific version of maxima (maxima-sage) from the Debian package repository. 

I would be grateful if you could point me towards how documentation or resources that show my how to build a more lean Sagemath install that uses as many system libraries and resources as possible.

Thank you
Thomas

dim...@gmail.com

unread,
Nov 4, 2025, 5:08:28 PM (2 days ago) Nov 4
to sage-s...@googlegroups.com
> I am able to build and install Sagemath version 10.7 successfully on my
> Debian v13 system. However I find it also builds and installs Python,
> Maxima, Jupyter, and Sphinx even though the same version of Python
> (3.13.5) is already installed in my system.

These docs on this are in https://doc.sagemath.org/html/en/installation/source.html#linux-system-package-installation
You need to run

./configure --enable-system-site-packages

to (hopefully) allow Jupyter and Sphinx (not all versions will fit).
You can read a (messy) advice printed by ./configure at the end of its
run to see what system packages will (hopefully) fit.

The advice is composed from the contents of

build/pkgs/<package name>/distros/debian.txt

E.g. for Python you need

build/pkgs/python3/distros/debian.txt

which says

python3
libpython3-dev
python3-setuptools
python3-venv

So you need these 4 Debian packages installed (Python version 3.14
isn't supported yet, in case).
Similarly, for Maxima, jupyter (jupyterlab) and sphinx you need contents
of the corresponding

build/pkgs/<package name>/distros/debian.txt

HTH
Dima

PS. Details of what's being used from the system, and what not,
may be found in config.log
(messy, not too easy to read)


> I even installed the sage
> specific version of maxima (maxima-sage) from the Debian package
> repository.
>
> I would be grateful if you could point me towards how documentation or
> resources that show my how to build a more lean Sagemath install that uses
> as many system libraries and resources as possible.
>
> Thank you
> Thomas
>
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/sage-support/4a981280-4dea-4cc9-858e-ffaa622ea9f1n%40googlegroups.com.

signature.asc
Reply all
Reply to author
Forward
0 new messages