Moving my Sage install (on Linux)

i like this post (click again to cancel)
i dont like this post (click again to cancel)


I installed Sage on a partition that is now running out of space. I'd like to move its ~1.5Gigs to another partition that has space aplenty. Is there a way to do this, maintaining the ability to invoke sage from the terminal etc., other than to rebuild it completely in the new spot (which takes ages on my slow machine)?


asked Oct 10 '10

Plausible gravatar image Plausible
21 1 2
i like this answer (click again to cancel)
i dont like this answer (click again to cancel)

You can just move the directory containing Sage to the new place. When you are done copying the files, go to that directory and run the sage script directtly, either by clicking on it from the files manager or by typing

$ ./sage

on the command prompt.

The first time you run Sage from its new location, it will go through the files and make the changes required. After it starts, use the install_scripts() function to replace the old scripts on your system to launch Sage, Singular, Gap, etc. with the new ones.


posted Oct 10 '10

burcin gravatar image burcin
1108 12 34
Perfect -- Thank you! Plausible (Oct 11 '10)

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
Login/Signup to Post

Question tools



Asked: Oct 10 '10

Seen: 126 times

Last updated: Oct 10 '10

powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.