Ask Your Question

Revision history [back]

Besides apt-get install sagemath and building from source, there are more options, including:

  • install using Conda: see Conda page on the SageMath wiki,
  • install a pre-compiled binary for Ubuntu 18.04: visit the SageMath download page for Linux, select your favourite mirror (or use the torrent if you can), and download the binary distribution for Ubuntu 18.04, i.e. the file sage-8.4-Ubuntu_18.04-x86_64.tar.bz2. No need to run make, this should be ready to use. You might need a few prerequisites, such as apt-get install gfortran.

The version of SageMath packaged for Ubuntu 18.04 is SageMath 8.1, see

Besides apt-get install sagemath and building from source, there are more options, including:

  • install using Conda: see Conda page on the SageMath wiki,
  • install a pre-compiled binary for Ubuntu 18.04: visit the SageMath download page for Linux, select your favourite mirror (or use the torrent if you can), and download the binary distribution for Ubuntu 18.04, i.e. the file sage-8.4-Ubuntu_18.04-x86_64.tar.bz2. No need to run make, this should be ready to use. You might need a few prerequisites, such as apt-get install gfortran.

If you want the latest version, install a binary from the SageMath download page, or build from source, or use Conda, or use Docker. For more choices, visit the Distribution page on the SageMath wiki.