Ask Your Question

Revision history [back]

I would suggest that you install Sage in your home directory by downloading the binary image for Ubuntu 20.04 from https://www.sagemath.org/download-linux.html. Simply do

sudo apt-get install python-is-python3
tar jxvf sage-9.4-Ubuntu_20.04-x86_64.tar.bz2
cd SageMath
./sage -n jupyter

Then ./sage -t should work from the directory SageMath. As a bonus, you'll get the latest version of Sage (9.4), while the Ubuntu package is only 9.0.

The Ubuntu package sagemath does not offer all the functionalities for advanced use of SageMath, like testing or installing additional packages. I would therefore suggest that you install Sage SageMath in your home directory by downloading the binary image for Ubuntu 20.04 from https://www.sagemath.org/download-linux.html. Simply do

sudo apt-get install python-is-python3
tar jxvf sage-9.4-Ubuntu_20.04-x86_64.tar.bz2
cd SageMath
./sage -n jupyter

Then ./sage -t should work from the directory SageMath. As a bonus, you'll get the latest version of Sage (9.4), while the Ubuntu package is only 9.0.