On 04/08/2013 02:26 PM, Julien Puydt wrote: > Or instead of a real local copy, only have the same directory structure > and symlinks for the files.
Suppose that $S is a shell variable that points to the installed Sage. What do the people say who have more knowledge of the Sage-internals. A) Is the following giving me a full functional Sage version in my HOME (with only about 300 MB)? Or did I mis anything in my commands below? B) Is "sage -i some-package" supposed to work in this local copy? (It might be necessary to remove some links, I guess.) Ralf ==================================================================== S=/opt/sage T=$HOME/mysage mkdir -p $T cd $S find . -type d -exec mkdir -p $T/{} \; # directories find . -type f -exec ln -s $S/{} $T/{} \; # files find . -type l -exec cp -d $S/{} $T/{} \; # links cd $T find . -name '*.pyc' -delete find . -name '*.la' -delete find . -name '*.pc' -delete /bin/rm $T/local/default.qepcadrc /bin/rm $T/local/lib/sage-current-location.txt cp $S/local/lib/sage-current-location.txt $T/local/lib/sage-current-location.txt /bin/rm $T/spkg/bin/sage cp $S/spkg/bin/sage $T/spkg/bin/sage # Set SAGE_ROOT to point to $T emacs $T/spkg/bin/sage # do the relocation ./sage -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.