I use Kali Linux and cannot install Sage

asked 2024-08-13 17:44:22 +0200

catmilk gravatar image

updated 2024-08-16 09:00:03 +0200

FrédéricC gravatar image

(1) Firstly, I added the debian source list, so can I use:

sudo apt install sagemath

And, it yield out:

The following packages have unmet dependencies: libgap8 : Depends: gap-libs (= 4.12.1-2) but 4.13.1-1 is to be installed

libsingular4m4n0 : Conflicts: libsingular4m3n0 (> 4.4.0) but 1:4.3.1-p3+ds-2 is to be installed

(2) Secondly, I tried to use:

pip install sagemath-standard

And it yield out:

Building wheel for sagemath-standard (pyproject.toml) ... error Building wheel for fpylll (pyproject.toml) ... error Building wheel for lrcalc (pyproject.toml) ... error Building wheel for primecountpy (pyproject.toml) ... error

(3) I tried the to build from source, but it also have lot of error

edit retag flag offensive close merge delete

Comments

Some people around could bring on kali the sagemath package... Although rude in language, the following may help:

https://medium.com/@kaloyanmanev/inst...

Debian or Ubuntu based distributions seem to not arrange for the details regarding sagemath dependencies and installations since years, this is my very subjective point of view. For this reason i decided after some four years of repeated unexpected crashes and related tamagotchi+yoga needs to move to an arch based distribution. Now it is arcolinux, sage simply rolls and rocks. (There are of course other issues, but when asked what is my first choice, sagemath & maths software or a specific linux distro and desktop experience, the maths part determines the decision.)

dan_fulea gravatar imagedan_fulea ( 2024-08-14 17:21:20 +0200 )edit
1

Since Kali Linux is Debian-based, you may try these instructions, which are known to work to install SageMath 10.4 in Ubuntu 24.04: https://sagemanifolds.obspm.fr/instal...

eric_g gravatar imageeric_g ( 2024-08-16 14:34:26 +0200 )edit