Ask Your Question
1

Compiling SageMath 10.4 in (K)Ubuntu 24.04

asked 2024-07-25 02:54:56 +0100

dsejas gravatar image

Hello, Sage Community!

I am trying to compile SageMath 10.4 in (K)Ubuntu 24.04, for which I am following the Sage Installation Guide for Linux, but after trying to install the prerequisites (first step), I get the following output:

Note, selecting 'libncurses-dev' instead of 'libncurses5-dev'
Note, selecting 'zlib1g-dev' instead of 'libz-dev'
Package maxima-sage is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libbrial-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libbrial-dev' has no installation candidate
E: Unable to locate package libbrial-groebner-dev
E: Package 'maxima-sage' has no installation candidate

Is this a known problem? Will this be a problem when trying to compile? Or will Sage itself install the required libraries?

Thank you very much in advance for your answers!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2024-07-26 18:37:27 +0100

eric_g gravatar image

updated 2024-07-26 22:29:28 +0100

Thanks for your report! Indeed, the instructions posted in the Sage installation guide are obsolete for Ubuntu 24.04. I'll open a github issue for this (*). Meanwhile, you may use these updated instructions to build SageMath 10.4 in Ubuntu 24.04. This should work without any error.

(*) Update: this is now the issue #38428.

edit flag offensive delete link more

Comments

Thank you very much for your answer! I can report that I have just successfully compiled SageMath 10.4 in kubuntu 24.04 following the instructions of SageManifolds.

dsejas gravatar imagedsejas ( 2024-07-28 20:22:27 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2024-07-25 02:54:56 +0100

Seen: 818 times

Last updated: Jul 26