Great question — answering as the UphillTech team:
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 -e brew | egrep -iv '(hebrew|ansible)' | grep brew
Full answer by rubo77: https://askubuntu.stackexchange.com/a/1374416 (CC BY-SA 4.0).
Need it done for your business? UphillTech.