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.Tue, 15 Aug 2017 14:45:34 -0500How to Update Sage from PPA to binarieshttp://ask.sagemath.org/question/38529/how-to-update-sage-from-ppa-to-binaries/Hi,
I should tell you before: of course I have searched before I wrote this question. Threads exist, but are old, not relevant anymore.
However, here is my problem: I am on Ubuntu, and the first time I installed Sage I used the [PPA](https://launchpad.net/~aims/+archive/ubuntu/sagemath).
Using the PPA is really practicle and automatic. But this PPA isn't up to date very often, since Sage is currently v8.0 and the PPA is still 7.5.1, seems to be permanently late (very late).
So, I'd like to know how I may possibly change my method of installation, and to henceforth use the pre-built binaries for linux to replace my current installation, but I'm not familiar with this method.
Thank you for your help.Tue, 15 Aug 2017 02:31:23 -0500http://ask.sagemath.org/question/38529/how-to-update-sage-from-ppa-to-binaries/Answer by tmonteil for <p>Hi,</p>
<p>I should tell you before: of course I have searched before I wrote this question. Threads exist, but are old, not relevant anymore.</p>
<p>However, here is my problem: I am on Ubuntu, and the first time I installed Sage I used the <a href="https://launchpad.net/~aims/+archive/ubuntu/sagemath">PPA</a>.
Using the PPA is really practicle and automatic. But this PPA isn't up to date very often, since Sage is currently v8.0 and the PPA is still 7.5.1, seems to be permanently late (very late).</p>
<p>So, I'd like to know how I may possibly change my method of installation, and to henceforth use the pre-built binaries for linux to replace my current installation, but I'm not familiar with this method.</p>
<p>Thank you for your help.</p>
http://ask.sagemath.org/question/38529/how-to-update-sage-from-ppa-to-binaries/?answer=38530#post-id-38530Just do the two steps independently:
- remove the PPA with the apt command:
sudo apt-get remove sagemath-upstream-binary
- install Sage the way you want (either from some binaries, or compile it yourself so that you can even get the latest beta version), see http://doc.sagemath.org/html/en/installation/
That said, i am pretty sure the PPA will be updated to 8.0 soon.Tue, 15 Aug 2017 02:39:47 -0500http://ask.sagemath.org/question/38529/how-to-update-sage-from-ppa-to-binaries/?answer=38530#post-id-38530Comment by tmonteil for <p>Just do the two steps independently:</p>
<ul>
<li><p>remove the PPA with the apt command:</p>
<pre><code>sudo apt-get remove sagemath-upstream-binary
</code></pre></li>
<li><p>install Sage the way you want (either from some binaries, or compile it yourself so that you can even get the latest beta version), see <a href="http://doc.sagemath.org/html/en/installation/">http://doc.sagemath.org/html/en/insta...</a></p></li>
</ul>
<p>That said, i am pretty sure the PPA will be updated to 8.0 soon.</p>
http://ask.sagemath.org/question/38529/how-to-update-sage-from-ppa-to-binaries/?comment=38541#post-id-38541You just have to follow the instructions given in the link i gave http://doc.sagemath.org/html/en/installation/ then your personal settings will still apply, since they are located in the `~/.sage` directory, so not related to the Sage installation.Tue, 15 Aug 2017 14:45:34 -0500http://ask.sagemath.org/question/38529/how-to-update-sage-from-ppa-to-binaries/?comment=38541#post-id-38541Comment by dan_fulea for <p>Just do the two steps independently:</p>
<ul>
<li><p>remove the PPA with the apt command:</p>
<pre><code>sudo apt-get remove sagemath-upstream-binary
</code></pre></li>
<li><p>install Sage the way you want (either from some binaries, or compile it yourself so that you can even get the latest beta version), see <a href="http://doc.sagemath.org/html/en/installation/">http://doc.sagemath.org/html/en/insta...</a></p></li>
</ul>
<p>That said, i am pretty sure the PPA will be updated to 8.0 soon.</p>
http://ask.sagemath.org/question/38529/how-to-update-sage-from-ppa-to-binaries/?comment=38535#post-id-38535The question is still unclear. For me it worked to edit some python files, that were certainly called in some cases, i was sure of that because the error message was specific, and a recursive grep gave me the module. That worked for me in the special cases.
But in general there are issues. The following links give hints in cases that *may be* similar:
[sage-replace-module-question](https://ask.sagemath.org/question/8927/how-do-i-install-python-modules-or-use-a-different-version-of-python-with-sage/) is an example for a specific module. (The two answers are qualified with +5 and +4 votes...)
[sage-new-modules-question](https://ask.sagemath.org/question/8214/sage-modules/) gets +6 votes...
The Ubuntu PPA is often old, this is the reason i switched to manjaro, the A(rch)UR sage is top.Tue, 15 Aug 2017 12:08:24 -0500http://ask.sagemath.org/question/38529/how-to-update-sage-from-ppa-to-binaries/?comment=38535#post-id-38535Comment by Romuald_314 for <p>Just do the two steps independently:</p>
<ul>
<li><p>remove the PPA with the apt command:</p>
<pre><code>sudo apt-get remove sagemath-upstream-binary
</code></pre></li>
<li><p>install Sage the way you want (either from some binaries, or compile it yourself so that you can even get the latest beta version), see <a href="http://doc.sagemath.org/html/en/installation/">http://doc.sagemath.org/html/en/insta...</a></p></li>
</ul>
<p>That said, i am pretty sure the PPA will be updated to 8.0 soon.</p>
http://ask.sagemath.org/question/38529/how-to-update-sage-from-ppa-to-binaries/?comment=38532#post-id-38532Yeah, removing the PPA, downloading, these are all OK in my mind.
My main question was about *replacing* the Sage system & binaries, i.e., which path, how (only paste and replace or is there any important instructions to follow, etc. ...).Tue, 15 Aug 2017 03:04:39 -0500http://ask.sagemath.org/question/38529/how-to-update-sage-from-ppa-to-binaries/?comment=38532#post-id-38532