Ask Your Question
2

Upgrade sage: build from sources?

asked 2011-07-13 11:16:37 -0500

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 11:25:42 -0500

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 04:03:36 -0500 )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 12:35:42 -0500 )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 13:48:21 -0500 )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 11:16:37 -0500

Seen: 205 times

Last updated: Jul 13 '11