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.
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/ -RfCheck 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.