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, 07 Mar 2019 12:22:43 -0600Updating Sagehttp://ask.sagemath.org/question/9135/updating-sage/I like to have the latest version of software. However, with Sage, it seems I need to re-download the entire application to get the latest version, which takes hundreds of megabytes and quite a long time.
Is there a less resource-intensive way to update Sage?
I'm running the "app" version on Mac OS X 10.7.4, for what it's worth.Wed, 11 Jul 2012 10:29:40 -0500http://ask.sagemath.org/question/9135/updating-sage/Answer by kcrisman for <p>I like to have the latest version of software. However, with Sage, it seems I need to re-download the entire application to get the latest version, which takes hundreds of megabytes and quite a long time. </p>
<p>Is there a less resource-intensive way to update Sage?</p>
<p>I'm running the "app" version on Mac OS X 10.7.4, for what it's worth.</p>
http://ask.sagemath.org/question/9135/updating-sage/?answer=13800#post-id-13800There is an update feature, which one should be careful with, but which will usually work, even with binaries.
sage -upgrade
You'd still have to have the right compilers and so forth to do this. It works best between fully released versions. I'm going to try it now from Sage 4.8 to 5.1!
Otherwise there isn't really a good option. The problem is that Sage has so many high-quality components that only really play nicely together inside of Sage, so other updating mechanisms do not work so well.Wed, 11 Jul 2012 15:28:59 -0500http://ask.sagemath.org/question/9135/updating-sage/?answer=13800#post-id-13800Comment by kcrisman for <p>There is an update feature, which one should be careful with, but which will usually work, even with binaries. </p>
<pre><code>sage -upgrade
</code></pre>
<p>You'd still have to have the right compilers and so forth to do this. It works best between fully released versions. I'm going to try it now from Sage 4.8 to 5.1!</p>
<p>Otherwise there isn't really a good option. The problem is that Sage has so many high-quality components that only really play nicely together inside of Sage, so other updating mechanisms do not work so well.</p>
http://ask.sagemath.org/question/9135/updating-sage/?comment=45712#post-id-45712You do have to have the various compiler tools installed. I recommend pursuing this on sage-support Google group, though, because a Q&A forum is a bad place to receive help on compiling.Thu, 07 Mar 2019 12:22:43 -0600http://ask.sagemath.org/question/9135/updating-sage/?comment=45712#post-id-45712Comment by Javidlg for <p>There is an update feature, which one should be careful with, but which will usually work, even with binaries. </p>
<pre><code>sage -upgrade
</code></pre>
<p>You'd still have to have the right compilers and so forth to do this. It works best between fully released versions. I'm going to try it now from Sage 4.8 to 5.1!</p>
<p>Otherwise there isn't really a good option. The problem is that Sage has so many high-quality components that only really play nicely together inside of Sage, so other updating mechanisms do not work so well.</p>
http://ask.sagemath.org/question/9135/updating-sage/?comment=45649#post-id-45649continues:
Makefile:31: recipe for target 'all-start' failed
make[1]: *** [all-start] Error 1
make[1]: Leaving directory '/home/javi/SageMath'
Makefile:13: recipe for target 'all' failed
make: *** [all] Error 2
javi@javi-ThinkPad-E480 11:42:47 ~ > sage
Forcing sage-location, probably because a new package was installed.
Cleaning up, do not interrupt this.
Done cleaning.Mon, 04 Mar 2019 09:22:25 -0600http://ask.sagemath.org/question/9135/updating-sage/?comment=45649#post-id-45649Comment by Javidlg for <p>There is an update feature, which one should be careful with, but which will usually work, even with binaries. </p>
<pre><code>sage -upgrade
</code></pre>
<p>You'd still have to have the right compilers and so forth to do this. It works best between fully released versions. I'm going to try it now from Sage 4.8 to 5.1!</p>
<p>Otherwise there isn't really a good option. The problem is that Sage has so many high-quality components that only really play nicely together inside of Sage, so other updating mechanisms do not work so well.</p>
http://ask.sagemath.org/question/9135/updating-sage/?comment=45648#post-id-45648continues :
The following package(s) may have failed to build (not necessarily
during this run of 'make all-start'):
* package: python2-2.7.15.p0
log file: /home/javi/SageMath/logs/pkgs/python2-2.7.15.p0.log
build directory: /home/javi/SageMath/local/var/tmp/sage/build/python2-2.7.15.p0
The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.Mon, 04 Mar 2019 09:20:59 -0600http://ask.sagemath.org/question/9135/updating-sage/?comment=45648#post-id-45648Comment by Javidlg for <p>There is an update feature, which one should be careful with, but which will usually work, even with binaries. </p>
<pre><code>sage -upgrade
</code></pre>
<p>You'd still have to have the right compilers and so forth to do this. It works best between fully released versions. I'm going to try it now from Sage 4.8 to 5.1!</p>
<p>Otherwise there isn't really a good option. The problem is that Sage has so many high-quality components that only really play nicely together inside of Sage, so other updating mechanisms do not work so well.</p>
http://ask.sagemath.org/question/9135/updating-sage/?comment=45644#post-id-45644Not working for me for passing from 8.2 to 8.6.
Typing
> sage-upgrade
I got the following:
Error building Sage.Mon, 04 Mar 2019 09:08:10 -0600http://ask.sagemath.org/question/9135/updating-sage/?comment=45644#post-id-45644Answer by Javidlg for <p>I like to have the latest version of software. However, with Sage, it seems I need to re-download the entire application to get the latest version, which takes hundreds of megabytes and quite a long time. </p>
<p>Is there a less resource-intensive way to update Sage?</p>
<p>I'm running the "app" version on Mac OS X 10.7.4, for what it's worth.</p>
http://ask.sagemath.org/question/9135/updating-sage/?answer=45643#post-id-45643Not working for me for passing from 8.2 to 8.6.
Typing
> sage-upgrade
I got the following:
Error building Sage.
The following package(s) may have failed to build (not necessarily during this run of 'make all-start'):
* package: python2-2.7.15.p0 log file: /home/user/SageMath/logs/pkgs/python2-2.7.15.p0.log build directory: /home/user/SageMath/local/var/tmp/sage/build/python2-2.7.15.p0
The build directory may contain configuration files and other potentially helpful information. WARNING: if you now run 'make' again, the build directory will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
Makefile:31: recipe for target 'all-start' failed make[1]: *** [all-start] Error 1 make[1]: Leaving directory '/home/user/SageMath' Makefile:13: recipe for target 'all' failed make: *** [all] Error 2 user@user-PC 11:42:47 ~ > sage Forcing sage-location, probably because a new package was installed. Cleaning up, do not interrupt this. Done cleaning.
Then if I type "sage" on the terminal, I got:
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.2, Release Date: 2018-05-05 │
│ Type "notebook()" for the browser-based notebook interface. │
│ Type "help()" for help.
Can anybody help ?Mon, 04 Mar 2019 09:03:21 -0600http://ask.sagemath.org/question/9135/updating-sage/?answer=45643#post-id-45643