How to uninstall Homebrew Cask

I installed Homebrew Cask as described at http://caskroom.io/. It boils down to the following command:

$ brew install caskroom/cask/brew-cask
$ brew tap caskroom/versions

Self-made cask installation, everything is fine. Then I uninstalled Homebrew Cask like this:

$ brew untap caskroom/versions
$ brew uninstall brew-cask

The following is the current faucet :

$ brew tap
homebrew/versions

But when I search for items that do not belong to Homebrew itself (such as graphics programs, aText, Fantasy Etc.), I will see things from Cask:

$ brew search atext
Caskroom/cask/atext

Although it is not installed (As expected):

$ brew install atext 
Error: No available formula for atext
Searching formulae...
Searching taps. ..
Caskroom/cask/atext

So the question is why search for Caskroom/Cask and how to get rid of it (I don’t want homebrew to tell me it has a text, for example, when it cannot be installed It)

I am running Mac OS X Yosemite.

Starting from version 0.9.5 of Homebrew, it seems to search for items in Caskroom / Cask / B, but Homebrew Cask is not actually installed. You can also install them, but in fact it will install brew-cask as a dependency.

Try:

brew install Caskroom/cask/atext

I install Homebrew Cask, as described at http://caskroom.io/. It boils down to the following command:

$ brew install caskroom/cask/brew-cask
$ brew tap caskroom/versions

Self-made cask installation, everything is fine. Then I uninstalled Homebrew Cask like this:

$ brew untap caskroom/versions
$ brew uninstall brew-cask

The following is the current faucet :

$ brew tap
homebrew/versions

But when I search for items that are not part of Homebrew itself (such as graphics programs, aText, Fantasy Etc.), I will see things from Cask:

$ brew search atext
Caskroom/cask/atext

Although it is not installed (As expected):

$ brew install atext 
Error: No available formula for atext
Searching formulae...
Searching taps. ..
Caskroom/cask/atext

So the question is why search for Caskroom/Cask and how to get rid of it (I don’t want homebrew to tell me it has a text, for example, when it cannot be installed It)

I am running Mac OS X Yosemite.

Starting from version 0.9.5 of Homebrew, it seems to search for items in Caskroom/Cask/B, but Homebrew Cask is not actually installed. You can also install them, but in fact it will install brew-cask as a dependency.

Try:

brew install Caskroom/cask/atext

Leave a Comment

Your email address will not be published.