A small retrospective on using Homebrew on Linux
There are so many ways of getting things up and running in Linux that choosing homebrew specifically almost feels like a cardinal sin against the wonders of distribution package management in linux land - however in the words of Mr. Castro, homebrew is definitely great on Linux. The linked article goes into great detail explaining why, but as someone who does not use an immutable distro (yet), here are the two instances (so far) in which I've personally found homebrew to lend a great helping hand, given my own inexperience with containers 😬
- Getting freeglut and glui set up for a university project
Getting freeglut going on Ubuntu is fairly straightfoward - sudo apt install freeglut3-dev
and you're there - barring a few dependencies I might be forgetting.
glui
on the other hand is not in the Ubuntu archives, so I'd spin up a Fedora distrobox to get that going as well since glui was in the archives and deadline-overwhelmed me wanted that sweet one-step-installation convenience.
Everything worked great until I wanted to get everything working through CLion and didn't have the patience to figure out how to make it all work - homebrew made it quick and painless.
- Setting up raylib
Same matter of convenience - brew install raylib
, pointing CLion to the right places, and done! 🍺