ddinchev
ddinchev

Reputation: 34673

How to remove all versions of a formula with brew

$ brew remove hadoop
Error: hadoop has multiple installed versions

I can not seem to find a way how to remove all the versions (they are 1.0.4 and 1.1.2).

Upvotes: 16

Views: 20657

Answers (2)

Jonas Geiregat
Jonas Geiregat

Reputation: 5442

This also seems to work:

brew remove --force hadoop  

Upvotes: 23

ddinchev
ddinchev

Reputation: 34673

brew cleanup hadoop seems to be the way to go, it uninstalls all the versions installed! Hope this helps somebody.

Upvotes: 17

Related Questions