-
-
Save florido/dfe02f27646465f6b12950a96db3ff44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# See http://pacha.hk/2017-07-15_gnu_nongnu_homebrew.html | |
# XCode CLT | |
xcode-select --install | |
# Update Homebrew and add formulae | |
brew update | |
# Check for broken dependencies and/or outdated packages | |
brew doctor | |
brew prune | |
# Core tools | |
brew install coreutils | |
brew install binutils | |
brew install diffutils | |
brew install ed | |
brew install findutils | |
brew install gawk | |
brew install gnu-indent | |
brew install gnu-sed | |
brew install gnu-tar | |
brew install gnu-which | |
brew install gnutls | |
brew install grep | |
brew install gzip | |
brew install screen | |
brew install watch | |
brew install wdiff --with-gettext | |
brew install wget | |
# Additional tools | |
brew install bash | |
brew install zsh | |
brew install emacs | |
brew install gdb # gdb requires further actions to make it work. See `brew info gdb`. Follow this link for instructions https://medium.com/@royalstream/how-to-install-and-codesign-gdb-on-os-x-el-capitan-aab3d1172e95#.jbzcfeegv | |
brew install gpatch | |
brew install m4 | |
brew install make | |
brew install nano | |
# Non-GNU tools | |
brew install file-formula | |
brew install git | |
brew install less | |
brew install openssh | |
brew install perl518 | |
brew install rsync | |
brew install svn | |
brew install unzip | |
echo 'export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"' >> ~/.bash_profile | |
echo 'export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"' >> ~/.bash_profile | |
echo 'export PATH="/usr/local/opt/file-formula/bin:$PATH"' >> ~/.bash_profile | |
echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.bash_profile | |
echo 'export PATH="/usr/local/opt/ncurses/bin:$PATH"' >> ~/.bash_profile | |
echo 'export PATH="/usr/local/opt/apr/bin:$PATH"' >> ~/.bash_profile | |
echo 'export PATH="/usr/local/opt/apr-util/bin:$PATH"' >> ~/.bash_profile | |
echo 'export PATH="/usr/local/opt/unzip/bin:$PATH"' >> ~/.bash_profile | |
echo 'export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"' >> ~/.bash_profile | |
echo 'export MANPATH="/usr/local/opt/make/libexec/gnuman:$MANPATH"' >> ~/.bash_profile | |
sudo launchctl config user path /usr/local/opt/coreutils/libexec/gnuman:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Library/TeX/texbin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment