Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to uninstall Homebrew Cask

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

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

Homebrew Cask installed and everything was fine. Then I uninstalled Homebrew Cask like so:

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

Here are the current taps:

$ brew tap homebrew/versions 

Yet I see stuff from Cask when searching for items that wouldn't be part of Homebrew itself (like Graphical programs, aText, Fantastical etc.):

$ brew search atext Caskroom/cask/atext 

Though it doesn't install (as expected):

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

So the question is why does brew search Caskroom/cask and how do I get rid of it (I don't want Homebrew telling me it has aText, for example, when it can't install it)?

I am running Mac OS X Yosemite.

like image 546
ehsanullahjan Avatar asked Jan 04 '15 20:01

ehsanullahjan


People also ask

How do I uninstall Homebrew on Mac Catalina?

To uninstall Homebrew, run the uninstall script from the Homebrew/install repository.

What is cask in Homebrew?

brew cask is an extension to brew that allows management of graphical GUI applications. Homebrew Cask extends Homebrew and brings its elegance, simplicity, and speed to OS X applications and large binaries alike. Cask deals with a mixture of software and licences.


1 Answers

For the current version of Brew:

$ brew uninstall --cask yed 

For older versions of Brew:

$ brew cask uninstall yed 

the result:

==> Removing App symlink: '/Users/user/Applications/yEd.app' 
like image 90
nekperu15739 Avatar answered Sep 25 '22 19:09

nekperu15739