Tested on Ubuntu 18.04

This script downloads homebrew and adds it to your PATH.

It also installs gcc through brew as well as the patchelf apt package.

Usage:

curl -sSL https://jrussell.sh/install-homebrew | bash

Raw Script Contents