Ask Your Question
1

What can I delete?

asked 12 years ago

bk322 gravatar image

updated 10 years ago

FrédéricC gravatar image

So I've compiled sage from sources. The sage folder is now 3Gb. I guess I've no need for some files... What can I delete? Is there any reason I should not delete these things?

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
2

answered 12 years ago

In principle, you should be able to type make micro_release, but this may be broken, depending on your platform. (I think that if it's broken, it will still result in a working Sage installation, just one that isn't as small as it should be.)

When you run sage micro_release, it runs the script local/bin/sage-micro-release, which among other things removes the directories devel/sage/build/temp.* and devel/sage/build/lib.*. You should be able to delete those safely by hand, if the script fails.

You can also safely remove the directory spkg/logs/. If you're sure you're not going to need to reinstall anything, you could remove spkg/standard/.

Preview: (hide)
link

Comments

What about the update? Will removing of these folders affect update? And what is the righteous way of updating by the way? I heard it is `hg_scripts.pull()` - but never tried it yet. You were right - `micro_release` is broken - both in sage4.8 and 5.0;

bk322 gravatar imagebk322 ( 12 years ago )

For updates, I would try `sage --upgrade`, or `sage --upgrade URL`. I don't know how updating interacts with removing these folders.

John Palmieri gravatar imageJohn Palmieri ( 12 years ago )
0

answered 12 years ago

Eviatar Bach gravatar image

You should be able to delete the devel folder, assuming you don't want to re-compile or get involved in Sage development.

Preview: (hide)
link

Comments

But docs seem to be in devel?

bk322 gravatar imagebk322 ( 12 years ago )

Yes, docs are in devel. I wouldn't delete all of devel.

John Palmieri gravatar imageJohn Palmieri ( 12 years ago )

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

Seen: 1,069 times

Last updated: Jun 08 '12