ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 14 Jul 2011 13:48:21 -0500Upgrade sage: build from sources?http://ask.sagemath.org/question/8223/upgrade-sage-build-from-sources/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.)Wed, 13 Jul 2011 11:16:37 -0500http://ask.sagemath.org/question/8223/upgrade-sage-build-from-sources/Answer by Shashank for <p>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</p>
<pre><code>$ sage -upgrade
</code></pre>
<p>throws a scary warning at me:</p>
<pre><code> ** 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.
</code></pre>
<p><strong>Question:</strong> Is there really a significant advantage to building the binaries from source?</p>
<p>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.)</p>
http://ask.sagemath.org/question/8223/upgrade-sage-build-from-sources/?answer=12517#post-id-12517I 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.Wed, 13 Jul 2011 11:25:42 -0500http://ask.sagemath.org/question/8223/upgrade-sage-build-from-sources/?answer=12517#post-id-12517Comment by Shashank for <p>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.</p>
http://ask.sagemath.org/question/8223/upgrade-sage-build-from-sources/?comment=21472#post-id-21472I 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.Thu, 14 Jul 2011 12:35:42 -0500http://ask.sagemath.org/question/8223/upgrade-sage-build-from-sources/?comment=21472#post-id-21472Comment by niles for <p>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.</p>
http://ask.sagemath.org/question/8223/upgrade-sage-build-from-sources/?comment=21471#post-id-21471I think it's the same set of instructions: modify code in $SAGE_ROOT/devel/sage, and then rebuild using sage -b.Thu, 14 Jul 2011 13:48:21 -0500http://ask.sagemath.org/question/8223/upgrade-sage-build-from-sources/?comment=21471#post-id-21471Comment by niles for <p>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.</p>
http://ask.sagemath.org/question/8223/upgrade-sage-build-from-sources/?comment=21473#post-id-21473Even for development, I use a binary install usually. Thu, 14 Jul 2011 04:03:36 -0500http://ask.sagemath.org/question/8223/upgrade-sage-build-from-sources/?comment=21473#post-id-21473