Ask Your Question

Revision history [back]

From your logs, it seems that you are trying to compile Sage on an external media, with some permissions which are not suitable, like spkg-install should not be marked executable in the build/pkgs directory Can you try again on your internal hard disk?

Basically, after having checked that you have all these Ubuntu prerequisites, you should type, from e.g. your home directory

git clone https://github.com/sagemath/sage.git 
cd sage
MAKE="make -j8" make

possibly adapting the 8 in -j8 to the number of cores in your CPU, for an efficient parallel build. NB: from the above procedure, you will get Sage 8.4, which is the latest stable version of Sage.