Remove brew completely from my system

I interrupted the execution of homebrew while installing. Consequently, I ran into a problem mentioned here Error found when loading /home/user/.profile:. I had to comment eval statements in the configuration file to solve the problem. However, I completely want to remove brew. Kindly, suggest any solution.

9

2 Answers

I installed brew with the homebrew install script which installs in /home/linuxbrew/.

I just found that one folder, where it resided, I removed that, and freed up 3GB:

sudo rm /home/linuxbrew/ -Rf

Check for remaining brew components with

locate brew -e|egrep -iv '(hebrew|ansible)'|grep brew

You can use this to check if it left anything behind in one of the system directories:

You'll still have to carefully go through your home directory to check if it left anything behind there.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like