Linux Lite Forums

Software - Support => Installing Software => Topic started by: Chompo on February 09, 2023, 06:00:17 PM

Title: (How) can SageMath be installed on LL 6.2?
Post by: Chompo on February 09, 2023, 06:00:17 PM
Hi. My Linux Lite version is 5.8 and I am trying to install a program called SageMath (https://www.sagemath.org/) by entering "sudo apt install sagemath" on the Terminal, but I keep getting some sort of "uninstallable packages" error.
Before even attempting to troubleshoot the installation, I'd like to know whether it works on Linux Lite 6.2 without errors. If it does, I'll just upgrade the OS.

Thanks in advance.
Title: Re: (How) can SageMath be installed on LL 6.2?
Post by: firenice03 on February 09, 2023, 06:40:30 PM
@Chompo
Might be curious as to the error..

I looked on a 4.8 machine that is close - apt search sagemath showed it in the repo..
I ran the install command  apt install sagemath and a list of dependancies were displayed along with the ... do you want to install... which I cancelled

I did test on my LL6.2 VM and the install was the same. I would want to assume the same for LL5.x

Again maybe the error will help as to the why.
Maybe try running a Lite Update prior may help as well.
Title: Re: (How) can SageMath be installed on LL 6.2?
Post by: trinidad on February 10, 2023, 11:14:39 AM
https://packages.debian.org/bullseye/ (https://packages.debian.org/bullseye/sagemath)sagemath (https://packages.debian.org/bullseye/sagemath)
https://packages.ubuntu.com/jammy/sagemath (https://packages.ubuntu.com/jammy/sagemath)
or the 5.8 case:
https://packages.debian.org/buster/sagemath (https://packages.debian.org/buster/sagemath)
https://packages.ubuntu.com/focal/math/sagemath (https://packages.ubuntu.com/focal/math/sagemath)
Ubuntu is in the Universe Repo.
Looking at the two packages diverse functionality may be better in Debian.
The focal package is no longer recommended but the jammy package is reported by some to work on focal and jammy once the dependencies resolve.
TC