building Sage

128 views
Skip to first unread message

John Cremona

unread,
Jan 20, 2026, 6:33:05 AMJan 20
to SAGE support
I have been building Sage on linux computers for 20 years. I
currently have a working 10.9.beta0 on my laptop but also need to keep
working versions (not development versions) on other ubuntu machines.
I have never in my life knowingly used conda and I don't know what it
is. BUT the installation guides tell me that I should install conda
-- both for installing a development version and for a non-development
version.

This cannot be necessary as I have never used or installed conda, and
I have built version 10.9.beta0.

Please can someone confirm that it is still OK to clone the latest
version (let's say, the latest release), do ./bootstrap and
./configure and make? Followed by (e.g.) make
database_cremona_ellcurve?

John

Dima Pasechnik

unread,
Jan 20, 2026, 9:42:04 AMJan 20
to sage-s...@googlegroups.com
I'm sure you are misreading the documentation.

The installation guide has tabs to choose the platform and the OS, and it refers to the development guide for installation from source.

Martin R

unread,
Jan 20, 2026, 1:53:29 PMJan 20
to sage-support

------------------------------------------
Development Walk-through

This section is a concise overview of the Sage development process. We will see how to make changes to the Sage source code and record them in the Git revision control system.

Quick start

If you are in a hurry, you can skip the details and just follow these steps:

  1. Install Git (see Installing Git) and Conda.

------------------------------------------

is this the wrong page?

Martin

Dima Pasechnik

unread,
Jan 20, 2026, 4:02:15 PMJan 20
to sage-s...@googlegroups.com
"classical" (sage-distro) install is described in
https://github.com/sagemath/sage/blob/develop/README.md
(not sure why the developer workthrough got so Conda-centric, but at
least this is
certainly a quick way to get something running)
> --
> 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/cd51b5c0-e0c7-49a4-935b-71333d0472c1n%40googlegroups.com.

Dima Pasechnik

unread,
Jan 20, 2026, 6:21:19 PMJan 20
to sage-s...@googlegroups.com

John Cremona

unread,
Jan 21, 2026, 4:53:22 AMJan 21
to sage-support
Thanks (as always) Dima.   There do seem to be more than one place where installation instructions can be found.   I thought I was being a good citizen by actually reading the version  I found instead of relying on my past experience.

Most of the build worked fine (but see below) after ./bootstrap && ./configure (after which "make configure" reports that 'configure' is up to date).

I found that on a system running ubuntu 22.04.5 LTS the package qhull fails to build as it want cmake version 3.25 or higher while this system only has 3.22.1 available.  I wonder if the later version is really necessary.  I am hesitant to upgrade the OS as I do not have physical access to the machine without a lot of hassle: it is in a central university server room, and we don't like to remind the relevant authorities that they still house some of our servers.  It is also 13 years old but still rather useful even if it still only has sage version 10.6 on it.

John 


John Cremona

unread,
Jan 21, 2026, 5:00:53 AMJan 21
to sage-support
PS I seem to have got round the qhull issue by installing ubuntu packages libqhull-dev and qhull-bin which I had not installed previously.

Eric Gourgoulhon

unread,
Jan 21, 2026, 5:08:42 AMJan 21
to sage-support
Hi John, 

Since you are using Ubuntu, you may find this page useful:
I'm trying to maintain it up to date, in order to provide Ubuntu new comers to Sage with a quick way to install Sage. In particular the list of system packages in the "sudo apt install" line is up to date. Last time I checked the list posted at
it was not the case: the command "sudo apt-get install" was failing with Ubuntu 24.04 because of some wrong package names , which is quite disturbing for a new comer. I've tried to edit the doc.sagemath.org page to fix that, but the list is automatically generated and I could not find quickly how to change it by editing some source file. 

Eric.

Dima Pasechnik

unread,
Jan 21, 2026, 9:39:33 AMJan 21
to sage-s...@googlegroups.com


On January 21, 2026 4:08:42 AM CST, Eric Gourgoulhon <egourg...@gmail.com> wrote:
>Hi John,
>
>Since you are using Ubuntu, you may find this page useful:
>https://sagemanifolds.obspm.fr/install_ubuntu.html
>I'm trying to maintain it up to date, in order to provide Ubuntu new comers
>to Sage with a quick way to install Sage. In particular the list of system
>packages in the "sudo apt install" line is up to date. Last time I checked
>the list posted at
>https://doc.sagemath.org/html/en/installation/source-distro.html#linux-system-package-installation
>it was not the case: the command "sudo apt-get install" was failing with
>Ubuntu 24.04 because of some wrong package names , which is quite
>disturbing for a new comer. I've tried to edit the doc.sagemath.org page to
>fix that, but the list is automatically generated and I could not find
>quickly how to change it by editing some source file.

package lists are generated from
build/pkgs/*/distros/*.txt

(for Debian/Ubuntu the 2nd * should be "debian")

please open a PR to fix these names
>>>> 1.
>>>>
>>>> Install Git (see Installing Git
>>>> <https://doc.sagemath.org/html/en/developer/git_setup.html#section-git-install>)
>>>> and Conda
>>>> <https://github.com/conda-forge/miniforge?tab=readme-ov-file#install>
>>>> .

Dima Pasechnik

unread,
Jan 26, 2026, 4:18:31 PMJan 26
to sage-support
Please see https://github.com/sagemath/sage/pull/41527 for a shot at clarification of these instructions.

Eric Gourgoulhon

unread,
Jan 27, 2026, 7:51:53 AM (14 days ago) Jan 27
to sage-support
Le mercredi 21 janvier 2026 à 15:39:33 UTC+1, dim...@gmail.com a écrit :


On January 21, 2026 4:08:42 AM CST, Eric Gourgoulhon <egourg...@gmail.com> wrote:
>Hi John,
>
>Since you are using Ubuntu, you may find this page useful:
>https://sagemanifolds.obspm.fr/install_ubuntu.html
>I'm trying to maintain it up to date, in order to provide Ubuntu new comers
>to Sage with a quick way to install Sage. In particular the list of system
>packages in the "sudo apt install" line is up to date. Last time I checked
>the list posted at
>https://doc.sagemath.org/html/en/installation/source-distro.html#linux-system-package-installation
>it was not the case: the command "sudo apt-get install" was failing with
>Ubuntu 24.04 because of some wrong package names , which is quite
>disturbing for a new comer. I've tried to edit the doc.sagemath.org page to
>fix that, but the list is automatically generated and I could not find
>quickly how to change it by editing some source file.

package lists are generated from
build/pkgs/*/distros/*.txt

(for Debian/Ubuntu the 2nd * should be "debian")

please open a PR to fix these names

Thank you for these tips! 
I'll prepare a PR in a few days (too  busy at the moment). 

Eric. 
Reply all
Reply to author
Forward
0 new messages