Ask Your Question

Moving my Sage install (on Linux)

asked 2010-10-10 06:45:32 +0200

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 14:09:49 +0200

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 18:30:43 +0200 )edit

This does not seem to work any more. At least, for the 8.1 version it does not. And the documentation now says "...once you have built Sage, you will not be able to move or rename its directory without likely breaking Sage."

v_2e gravatar imagev_2e ( 2018-04-01 22:09:50 +0200 )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-10 06:45:32 +0200

Seen: 574 times

Last updated: Oct 10 '10