Ask Your Question
2

Upgrade sage: build from sources?

asked 2011-07-13 18:16:37 +0100

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.)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2011-07-13 18:25:42 +0100

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.

edit flag offensive delete link more

Comments

Even for development, I use a binary install usually.

niles gravatar imageniles ( 2011-07-14 11:03:36 +0100 )edit

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 ( 2011-07-14 19:35:42 +0100 )edit

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 ( 2011-07-14 20:48:21 +0100 )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

Stats

Asked: 2011-07-13 18:16:37 +0100

Seen: 638 times

Last updated: Jul 13 '11