# Revision history [back]

The log file located on your computer at

/home/javi/SageMath/logs/pkgs/python2-2.7.15.p0.log


may have some clues as to what exactly failed.

One way to upgrade would be, after checking you have all prerequisites for building from source, to run the following in a terminal:

SAGEDIR=/home/javi/SageMath  # your Sage directory
cd \$SAGEDIR
git pull origin master
make


The git command will update all the source files to their latest stable version (currently SageMath 8.6) and the make command will build SageMath from source; this will download tarballs for those packages that have been upgraded between SageMath 8.2 and SageMath 8.6, and compile all that needs to be compiled. It will use less internet bandwidth than downloading the new binary, but will make your processors work a bit (or a lot) to compile the new version.