Ask Your Question
2

Upgrade sage: build from sources?

asked 13 years ago

Sammy Black gravatar image

I'm using an older version of Sage (4.5.3) in Ubuntu 10.04. I like it, but I'd like to upgrade to a more recent version. From the command prompt, calling

$ sage -upgrade

throws a scary warning at me:

 ** WARNING: This is a source-based upgrade, which could take hours,
 ** fail, and render your Sage install useless!! This is a binary
 ** install, so upgrading in place is *not* recommended unless you are
 ** an expert.  Please consider installing a new binary from
 ** http://sagemath.org instead.

Question: Is there really a significant advantage to building the binaries from source?

I am running a Sony Vaio laptop on 4 2.13 GHz Intel cores. (I can specify more stats if it helps somebody to give me good advice.)

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
5

answered 13 years ago

Shashank gravatar image

I have never build sage from source. It is useful only if you plan on working on the development of sage or modify the source code. Your notebooks are not stored in sage directory but home. So you can just delete the present version, download sage 4.7 and install the binaries. That should work for most users.

Preview: (hide)
link

Comments

Even for development, I use a binary install usually.

niles gravatar imageniles ( 13 years ago )

I did not know. I tried modifying code of sage for some reason and I build sage from source. Can you give a reference on how to change code while using binary install.

Shashank gravatar imageShashank ( 13 years ago )

I think it's the same set of instructions: modify code in $SAGE_ROOT/devel/sage, and then rebuild using sage -b.

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: 676 times

Last updated: Jul 13 '11