I use Kali Linux and cannot install Sage
(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
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.)
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...
Hi, I wrote an answer but the "Post your answer" button doesn't really work for me so maybe I have more luck in the comment section. Here's a pastebin link to my answer :) https://pastebin.com/6m6ypB2N