Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sagemath 8.9 installation problem on ubuntu 18.04

i am trying to install Sagemath 8.9 on ubuntu 18.04.3 LTS. i am doing the following :

  1. downloaded the sage-8.9-Ubuntu_18.04-x86_64.tar.bz2 .

  2. extracted it (with no sudo permission) using

tar xvf sage-8.9-Ubuntu_18.04-x86_64.tar.bz2

  1. cd into the extracted directory named Sagemath and run


as mentioned in the readme file .. it takes long time then gve me the following error:

[dochtml] OSError: [Errno 13] Permission denied: '/home/hassan/.sage/cache/tmpwpNzXa' Makefile:2038: recipe for target 'doc-html' failed make[3]: * [doc-html] Error 1 make[3]: Leaving directory '/home/hassan/SageMath/build/make' Makefile:1849: recipe for target 'all-start' failed make[2]: * [all-start] Error 2 make[2]: Leaving directory '/home/hassan/SageMath/build/make'

real 1m8.422s user 0m40.632s sys 0m3.585s

Error building Sage.

The following package(s) may have failed to build (not necessarily during this run of 'make all-start'):

The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

Makefile:31: recipe for target 'all-start' failed make[1]: * [all-start] Error 1 make[1]: Leaving directory '/home/hassan/SageMath' Makefile:13: recipe for target 'all' failed make: * [all] Error 2