Ask Your Question
2

update sage, best practice?

asked 13 years ago

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?

Preview: (hide)

Comments

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

2 Answers

Sort by » oldest newest most voted
3

answered 13 years ago

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.

Preview: (hide)
link
0

answered 13 years ago

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.

Preview: (hide)
link

Comments

1

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 ( 13 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

Stats

Asked: 13 years ago

Seen: 7,253 times

Last updated: Aug 22 '11