Ask Your Question

Revision history [back]

Indeed, the use of sage --upgrade was abandoned.

Here is how to upgrade.

Change to the correct directory, in your case:

$ cd $HOME/sage-9.5.rc4

Then use Git to get the latest development version.

$ git checkout develop
$ git pull origin develop --tags

Run the bootstrap step:

$ ./bootstrap -q

If it fails it will tell you which packages to install in your system (with sudo apt install ...); after which you can try again; alternatively you can run make configure instead.

Run the configure step

$ ./configure

Follow any advice given at the end of the configure step regarding installing system packages (with sudo apt install ...) and re-running configure checks.

When that is done, decide how many jobs to run in parallel:

$ MAKE='make -j8`  # to run 8 jobs in parallel

Finally, build Sage:

$ make -s V=0

Indeed, the use of sage --upgrade was abandoned.

Here is how to upgrade.

Change to the correct directory, in your case:

$ cd $HOME/sage-9.5.rc4

Then use Git to get the latest development version.

$ git checkout develop
$ git pull origin develop --tags

Run the bootstrap step:

$ ./bootstrap -q

If it fails it will tell you which packages to install in your system (with sudo apt install ...); after which you can try again; alternatively you can run make configure instead.

Run the configure step

$ ./configure

Follow any advice given at the end of the configure step regarding installing system packages (with sudo apt install ...) and re-running configure checks.

When that is done, decide how many jobs to run in parallel:

$ MAKE='make -j8` -j8'  # to run 8 jobs in parallel

Finally, build Sage:

$ make -s V=0