sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.36k stars 462 forks source link

Sagemath not included in Ubuntu 24.04 Noble Numbat? #38051

Open Bakerbakura opened 4 months ago

Bakerbakura commented 4 months ago

Steps To Reproduce

The sagemath package is not included in the latest version of Ubuntu, although several of the sagemath-database packages are included (see this link]. According to this bug report, Sagemath fails to build with Python 3.12. However, I was able to install Sagemath from source (with having to install a few extra packages not mentioned in the build instructions) and it works fine. I guess I'm just making this issue to notify the Sagemath developers of this issue in case they don't already know of it, and/or to ask how we can get Sagemath into the Ubuntu 24.04 repository.

Expected Behavior

I expected to be able to install Sagemath via the Ubuntu package manager, as it has been in their repositories for about two years.

Actual Behavior

The Sagemath package is not in the Ubuntu 24.04 repository. However, other packages such as sagemath-database-conway-polynomials and sagemath-database-graphs are still in the Ubuntu 24.04 repository.

Additional Information

Link to Launchpad bug mentioning Sagemath's failure to build Link to which sagemath packages are currently in the Ubuntu 24.04 repository

Environment

- **OS**: Ubuntu 24.04
- **Sage Version**: 10.3

Checklist

dimpase commented 4 months ago

I agree that it's a SageMath bug, but not in the sense that SageMath forgot to do Debian/Ubuntu packaging.

It's rather has made it very hard to do this.

mkoeppe commented 4 months ago

See

SergeyHein commented 3 months ago

Hi @Bakerbakura , I came to this page while searching for information around Sagemath installation on Ubuntu 24.04. can you share any build scripts I can reuse. thank you!

Bakerbakura commented 3 months ago

Hi @Bakerbakura , I came to this page while searching for information around Sagemath installation on Ubuntu 24.04. can you share any build scripts I can reuse. thank you!

Hi @SergeyHein unfortunately I don't have any build scripts you can reuse. I just followed the build-from-source instructions on the Sagemath website (my have been on the Sagemath GitHub page), checked the given error each time something failed, and installed a few additional packages that were complained about.

egourgoulhon commented 2 months ago

Some updated instructions to build smoothly SageMath 10.4 in Ubuntu 24.04 can be found here .

defarm commented 1 week ago

@egourgoulhon thanks!