Homebrew barely works. I dread messing with it. It's not Homebrew's fault: with Macs the stars have to align to get things to work much of the time. I find that the origin OS for most of my libraries (Linux/Debian) is much more reliable than a Mac. I had some issues switching away from a mac at first, but I got over them.