sage icon indicating copy to clipboard operation
sage copied to clipboard

Sagemath not included in Ubuntu 24.04 Noble Numbat?

Open Bakerbakura opened this issue 1 year ago • 2 comments
trafficstars

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

  • [X] I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • [X] I have read the documentation and troubleshoot guide

Bakerbakura avatar May 21 '24 20:05 Bakerbakura

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.

dimpase avatar May 21 '24 21:05 dimpase

See

  • #36380

mkoeppe avatar May 21 '24 22:05 mkoeppe

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!

SergeyHein avatar Jul 07 '24 17:07 SergeyHein

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.

Bakerbakura avatar Jul 08 '24 10:07 Bakerbakura

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

egourgoulhon avatar Jul 26 '24 17:07 egourgoulhon

@egourgoulhon thanks!

defarm avatar Sep 26 '24 22:09 defarm