Linux Brew Installation
#!/bin/bash
set -u
set -e
sudo apt-get install -y \
build-essential \
curl \
git \
m4 \
ruby \
texinfo \
libbz2-dev \
libcurl4-openssl-dev \
libexpat-dev \
libncurses-dev \
zlib1g-dev
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
echo 'export PATH="$HOME/.linuxbrew/bin:$PATH"' >> ~/.bash_profile
echo 'export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"' >> ~/.bash_profile
echo 'export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"' >> ~/.bash_profile
echo 'export LD_LIBRARY_PATH="$HOME/.linuxbrew/lib:$LD_LIBRARY_PATH"' >> ~/.bash_profile
brew doctor