ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 05 Sep 2013 13:48:15 +0200Full remove and re-install SAGEhttps://ask.sagemath.org/question/10509/full-remove-and-re-install-sage/Hi experts!
Im using ubuntu 13.04 64bits and SAGE 5.11.
How can I full remove SAGE and then reinstall it? I wanna a deep full remove of SAGE and then reinstall it because a porblem without solution up to now:
http://ask.sagemath.org/question/2944/sagemath-crash
Thanks a lot!Thu, 05 Sep 2013 09:44:27 +0200https://ask.sagemath.org/question/10509/full-remove-and-re-install-sage/Answer by mresimulator for <p>Hi experts!</p>
<p>Im using ubuntu 13.04 64bits and SAGE 5.11.
How can I full remove SAGE and then reinstall it? I wanna a deep full remove of SAGE and then reinstall it because a porblem without solution up to now: </p>
<pre><code>http://ask.sagemath.org/question/2944/sagemath-crash
</code></pre>
<p>Thanks a lot!</p>
https://ask.sagemath.org/question/10509/full-remove-and-re-install-sage/?answer=15409#post-id-15409Hi!
I only use SAGE in my laptop. I dont use sage-notebook. In this case, please correct me if I'm wrong, I must do this:
1. Remove .sage/ directory. (where is it?)
2. Remove /usr/lib/sagemath/
3. Remove .hgrc file (Where are these?)
4. Reinstall sagemath.
Is this ok?
Thanks a lotThu, 05 Sep 2013 12:13:33 +0200https://ask.sagemath.org/question/10509/full-remove-and-re-install-sage/?answer=15409#post-id-15409Comment by kcrisman for <p>Hi!</p>
<p>I only use SAGE in my laptop. I dont use sage-notebook. In this case, please correct me if I'm wrong, I must do this:</p>
<ol>
<li>Remove .sage/ directory. (where is it?)</li>
<li>Remove /usr/lib/sagemath/</li>
<li>Remove .hgrc file (Where are these?)</li>
<li>Reinstall sagemath.</li>
</ol>
<p>Is this ok?</p>
<p>Thanks a lot</p>
https://ask.sagemath.org/question/10509/full-remove-and-re-install-sage/?comment=17042#post-id-17042See my answer on your other question. In particular, `.sage/` should be a subdirectory of your "home" directory.Thu, 05 Sep 2013 13:48:15 +0200https://ask.sagemath.org/question/10509/full-remove-and-re-install-sage/?comment=17042#post-id-17042Answer by kcrisman for <p>Hi experts!</p>
<p>Im using ubuntu 13.04 64bits and SAGE 5.11.
How can I full remove SAGE and then reinstall it? I wanna a deep full remove of SAGE and then reinstall it because a porblem without solution up to now: </p>
<pre><code>http://ask.sagemath.org/question/2944/sagemath-crash
</code></pre>
<p>Thanks a lot!</p>
https://ask.sagemath.org/question/10509/full-remove-and-re-install-sage/?answer=15418#post-id-15418Sage doesn't really leave a lot of stuff littered about your filesystem. You should first remove your actual Sage folder (in the question you reference, `/usr/lib/sagemath/`, or for others perhaps in `sage-5.12/` in your home directory, depending on where you put it). That will get rid of 99% of things.
The other thing that might be causing trouble is the `.sage/` folder, where a lot of prefs and other data is stored (but no functionality). You'd have to remove that folder, which is ordinarily in your home directory, but which can be moved if you use the `DOT_SAGE` environment variable. The downside is that it will also remove all your Sage notebook worksheets, if you have been using those - it's possible to download them en masse, though, or to save that part of that folder.
Finally, Sage does sometimes create things like `.hgrc`, which are configuration files for programs like matplotlib and Mercurial that Sage uses. You could remove them, though they should be harmless unless you've done something to them.Thu, 05 Sep 2013 10:37:41 +0200https://ask.sagemath.org/question/10509/full-remove-and-re-install-sage/?answer=15418#post-id-15418