On Wednesday 05 March 2008, Ryan Hinton wrote: > What if I want to develop in certain sections (coding theory, maybe > some graph theory)?
I wouldn't recommend deleting static libraries because it is too easy to shoot yourself in the foot if you do. If you only strip your binaries/libraries then you can still develop, you just won't get very nice backtraces if Sage crashes on you. Note, even if you removed all static libraries (again, I wouldn't recommend it!) you can still develop pure Python code which should constitute a fair amount of the coding theory / graph theory code (I don't know though). For your convenience lets reduce the size of 2.10.3.rc2: We start with: $ du -h --max-depth=1 3.3M ./examples 64K ./ipython 222M ./devel 27M ./doc 784M ./local 17M ./data 700K ./spkg 1.1G . This is due to the fact that all the source SPKGs have already been replaced by empty files. This is done automatically for binary releases. Now we strip the shared libraries $ cd $SAGE_ROOT $ cd local/; find . -name "*.so" | xargs strip $ cd .. $ du -h --max-depth=1 3.3M ./examples 64K ./ipython 222M ./devel 27M ./doc 684M ./local 17M ./data 700K ./spkg 952M . Now we strip executable (this is a bit messy): $cd local; find . -perm /u+x -type f | xargs strip $cd ..; du -h --max-depth=1 3.3M ./examples 64K ./ipython 222M ./devel 27M ./doc 648M ./local 17M ./data 700K ./spkg 915M . At this point we still got a fully functional developer-enabled copy of Sage. However, we are still at 915M. We should consider removing _some_ of the static libraries, i.e. those which are redundant. $ cd local; find -name "*.a" | xargs rm $ cd .. $ du -h --max-depth=1 3.3M ./examples 64K ./ipython 220M ./devel 27M ./doc 383M ./local 17M ./data 700K ./spkg 650M . However, now development might not be possible anymore. Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _www: http://www.informatik.uni-bremen.de/~malb _jab: [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---