First time here? Check out the FAQ!

Ask Your Question
2

Updating Sage

asked 12 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
4

answered 12 years ago

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.

Preview: (hide)
link

Comments

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

sage-upgrade

I got the following:

Error building Sage.
Javidlg gravatar imageJavidlg ( 6 years ago )

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 ( 6 years ago )

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 ( 6 years ago )

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 ( 6 years ago )

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

Stats

Asked: 12 years ago

Seen: 1,520 times

Last updated: Mar 04 '19