1

In Ubuntu 20.04, when I type:

sudo apt-get install sagemath sagemath-jupyter sagemath-doc-en

I get:

Package sagemath 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 'sagemath' has no installation candidate
E: Unable to locate package sagemath-jupyter
E: Unable to locate package sagemath-doc-en''

It appears the PPA is no longer maintained. Am I forced to go through the hassle of getting the binary and then all its dependencies or am I missing something obvious? I feel dumb.

After adding the universe repository and trying to install again I get:

E: Package 'sagemath' has no installation candidate

After adding the universe repository and trying to install again I get:

E: Package 'sagemath' has no installation candidate

4

1 Answer 1

0

Rather than installing from the Ubuntu repositories, you may find it easier to go to https://www.sagemath.org/download.html and download the current version directly. Installation is simple. I'd suggest extracting the files to a directory ~/Sage, cd ~/Sage/SageMath and then execute ./sage

In a few minutes everything is set up. Currently there are binaries for version 9.2, but 9.3 should show up fairly soon.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.