Closed BoundaryValueProblems closed 7 years ago
FYI you'll have to remove the backticks in order to ping @staticfloat.
Great question Prof. Saito. I have just added a Homebrew.cleanup()
command, it will appear in the latest version of Homebrew after the next release. If you want to run it immediately, you can run Pkg.checkout("Homebrew")
in order to pull down the latest (unreleased) version of the Homebrew
package. You can then run using Homebrew
and Homebrew.cleanup()
to cleanup your installed formulae and downloaded bottles. Note that Homebrew.jl
already usually cleans out older versions of formulae, so this isn't usually necessary, although it will cleanup downloaded bottles, which can save you some space.
If you do download the latest version of Homebrew
and want to switch back to the "stable" versions, use Pkg.free("Homebrew")
, and you'll go back to the latest release version of Homebrew
.
Thanks a lot! Yes, this functionality, Homebrew.cleanup()
would be quite nice especially for people who maintain two versions of Homebrew: (1) the system-wide regular Homebrew and (2) the Homebrew system under Homebrew.jl
.
I am closing this as Homebrew.cleanup()
is now included in the latest stable version of Homebrew.
@staticfloat, thank you very much! It works great!
@staticfloat
: how can I runbrew cleanup
to remove unnecessary folders under ~/.julia/v0.5/Homebrew/deps/? On my system-wide homebrew, I regularly runbrew cleanup
. But I'm not sure whether I can do the same for the homebrew folders within Homebrew.jl. Thanks for your help! BVPs