Steve
Steve

Reputation: 21

Uninstalling Homebrew

I uninstalled Homebrew on my MAC, but got this message at the end:

The following possible Homebrew files were not deleted:

You may wish to remove them yourself.

I was able to remove the first item, but when I tried to remove the remaining three with "rmdir," I kept getting the "_____ is a directory" output. What am I missing?

Thanks.

Upvotes: 1

Views: 1089

Answers (2)

Simba
Simba

Reputation: 27568

Maybe not an answer, but seems these folder are left on purpose. They are not part of the Homebrew package manager itself. But config, file, cache, etc content generated by brew-installed package.

Especially, make sure you have a backup of these settings before you remove it with rm -rf.

Upvotes: 0

OctavianM
OctavianM

Reputation: 4617

Apparently, rmdir only works if the directory is empty, looking at this linux man page. You could try to remove them using rm -rf <path to folder> instead.

Upvotes: 1

Related Questions