Ask Your Question

Updating Sage

asked 2012-07-11 17:29:40 +0200

sflammia gravatar image

I like to have the latest version of software. However, with Sage, it seems I need to re-download the entire application to get the latest version, which takes hundreds of megabytes and quite a long time.

Is there a less resource-intensive way to update Sage?

I'm running the "app" version on Mac OS X 10.7.4, for what it's worth.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-11 22:28:59 +0200

kcrisman gravatar image

There is an update feature, which one should be careful with, but which will usually work, even with binaries.

sage -upgrade

You'd still have to have the right compilers and so forth to do this. It works best between fully released versions. I'm going to try it now from Sage 4.8 to 5.1!

Otherwise there isn't really a good option. The problem is that Sage has so many high-quality components that only really play nicely together inside of Sage, so other updating mechanisms do not work so well.

edit flag offensive delete link more


Not working for me for passing from 8.2 to 8.6. Typing


I got the following:

Error building Sage.
Javidlg gravatar imageJavidlg ( 2019-03-04 16:08:10 +0200 )edit

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

  • package: python2-2.7.15.p0 log file: /home/javi/SageMath/logs/pkgs/python2-2.7.15.p0.log build directory: /home/javi/SageMath/local/var/tmp/sage/build/python2-2.7.15.p0

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.

Javidlg gravatar imageJavidlg ( 2019-03-04 16:20:59 +0200 )edit

continues: Makefile:31: recipe for target 'all-start' failed make[1]: * [all-start] Error 1 make[1]: Leaving directory '/home/javi/SageMath' Makefile:13: recipe for target 'all' failed make: * [all] Error 2 javi@javi-ThinkPad-E480 11:42:47 ~ > sage Forcing sage-location, probably because a new package was installed. Cleaning up, do not interrupt this. Done cleaning.

Javidlg gravatar imageJavidlg ( 2019-03-04 16:22:25 +0200 )edit

You do have to have the various compiler tools installed. I recommend pursuing this on sage-support Google group, though, because a Q&A forum is a bad place to receive help on compiling.

kcrisman gravatar imagekcrisman ( 2019-03-07 19:22:43 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-07-11 17:29:40 +0200

Seen: 1,189 times

Last updated: Mar 04 '19