Ask Your Question

update sage, best practice?

asked 2011-08-21 19:12:51 +0200

dartdog gravatar image

Have 4.6.1 installed thinking of updating to 4.7.1 on Ubuntu 10.10 what is best practice? can I just re-install over current?

edit retag flag offensive close merge delete


Thanks,, I hope to get to it shortly, would be nice if that info was somehow displayed a bit more prominently in the release notes :-)

dartdog gravatar imagedartdog ( 2011-08-22 22:51:56 +0200 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2011-08-22 03:07:11 +0200

benjaminfjones gravatar image

If you are downloading the pre-built Sage binaries, just move the old sage directory for 4.6.1 out of the way (mv sage sage.OLD) and unpack the new sage-4.7.1 in the parent where the old installtion was (in case you have scripts or aliases that refer to that installation.

This won't affect your sage notebook account or your saved notebooks since those are saved in your ~/.sage directory.

edit flag offensive delete link more

answered 2011-08-22 09:06:24 +0200

kcrisman gravatar image

Another option, which ''should'' work from one final release to another, is to upgrade. In the Sage directory, do ./sage -upgrade and answer yes to questions. Then it will build. This will require you to have gcc and various other prereqs, though

If you have a binary ready for your platform, it's probably just easier to use Benjamin's answer, but sometimes it's a personal preference, especially if you think you might eventually do development work.

edit flag offensive delete link more



I agree with @kcrisman, but I have to say I've *always* had problems with -upgrade . . . the warning given before the upgrading doesn't inspire much confidence either.

niles gravatar imageniles ( 2011-08-22 09:15:24 +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


Asked: 2011-08-21 19:12:51 +0200

Seen: 7,090 times

Last updated: Aug 22 '11