After creating julia from source, what can be removed?

I managed to put it together on a tiny computer, but now the result is ~ 1GB 1.3GB which I got for free. Most of this is in the / deps folder - it's safe to delete after build, right?

+3


source to share


2 answers


The / deps folder is not needed, that's right, but a simple thing is make install

and it will create a julia- directory with a hexadecimal number . That directory is all that is needed and can be copied anywhere and anything else that is removed afterwards, but the / deps folder probably needs to exist for this to satisfy make.

On my system, the latest build is 148MB May 19 19:36 julia-eb5da264e8

du -sm julia-eb5da264e8
148 julia-eb5da264e8

      



I have not tried to launch julia from an unset directory structure.

There are some minor things that may or may not be needed, like doing julia-debug and documentation, but then the secondary link fix can also be fixed, and this is important, leave the last make install output in the gist . You can try to just do the install yourself and see if that works, but you may find that the deps folder is gone, any make will start trying to repair, or not work at all.

If it is not, you can reproduce the manual make install steps from the gist, but I would suggest just starting over; let the construction happen again. There is enough space for installation. Save the created directory and delete the rest.

+6


source


After you "do the installation" it should be safe to delete the entire collection folder.



Also the packages added by Pkg.add are installed under ~ / .julia, you don't need anything from the compilation folder.

+1


source







All Articles