Ask Your Question
2

Moving my Sage install (on Linux)

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

Plausible gravatar image

Hello,

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

thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2010-10-10 14:09:49 +0100

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

Comments

Perfect -- Thank you!

Plausible gravatar imagePlausible ( 2010-10-11 18:30:43 +0100 )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 +0100 )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

Stats

Asked: 2010-10-10 06:45:32 +0100

Seen: 669 times

Last updated: Oct 10 '10