Ok to nuke the Pkg .cache directory?


#1

I’ve exceeded my quota on a cluster, for the number of files allowed in my shared group directory.

I noticed from the Package docs that all installed packages are downloaded into .cache/ within Pkg.dir. Is there any harm in nuking this periodically? And will it get filled up behind my back, outside of Pkg.add() calls?

This is using Pkg2, on Julia 0.6.


#2

Check this out. Might have used the word nuclear, too :stuck_out_tongue:


#3

Ah, but that’s the precompile cache, in .julia/lib. I’m talking about the stuff in .julia/.cache.

But I like your approach. Remember, always nuke it from orbit, it’s the only way to be sure.