Ask Your Question

Moving my Sage install (on Linux)

asked 2010-10-09 23:45:32 -0500

Plausible gravatar image


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)?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2010-10-10 07:09:49 -0500

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.

edit flag offensive delete link more


Perfect -- Thank you!

Plausible gravatar imagePlausible ( 2010-10-11 11:30:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2010-10-09 23:45:32 -0500

Seen: 157 times

Last updated: Oct 10 '10