Ask Your Question
0

Full remove and re-install SAGE

asked 11 years ago

mresimulator gravatar image

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!

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
0

answered 11 years ago

mresimulator gravatar image

updated 11 years ago

kcrisman gravatar image

Hi!

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 lot

Preview: (hide)
link

Comments

See my answer on your other question. In particular, `.sage/` should be a subdirectory of your "home" directory.

kcrisman gravatar imagekcrisman ( 11 years ago )
0

answered 11 years ago

kcrisman gravatar image

Sage 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.

Preview: (hide)
link

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: 11 years ago

Seen: 3,051 times

Last updated: Sep 05 '13