Skip to content

Instantly share code, notes, and snippets.

@iliaznk
Forked from xuhdev/homebrew-install-gnu.sh
Created January 22, 2019 01:03
Show Gist options
  • Save iliaznk/baf2fe881f46164850577778ef2c73bb to your computer and use it in GitHub Desktop.
Save iliaznk/baf2fe881f46164850577778ef2c73bb to your computer and use it in GitHub Desktop.

Revisions

  1. @xuhdev xuhdev revised this gist Mar 31, 2016. No changes.
  2. @xuhdev xuhdev created this gist Mar 31, 2016.
    45 changes: 45 additions & 0 deletions homebrew-install-gnu.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,45 @@
    # see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/

    # core
    brew install coreutils

    # key commands
    brew install binutils
    brew install diffutils
    brew install ed --default-names
    brew install findutils --with-default-names
    brew install gawk
    brew install gnu-indent --with-default-names
    brew install gnu-sed --with-default-names
    brew install gnu-tar --with-default-names
    brew install gnu-which --with-default-names
    brew install gnutls
    brew install grep --with-default-names
    brew install gzip
    brew install screen
    brew install watch
    brew install wdiff --with-gettext
    brew install wget

    # OS X ships a GNU version, but too old
    brew install bash
    brew install emacs
    brew install gdb # gdb requires further actions to make it work. See `brew info gdb`.
    brew install gpatch
    brew install m4
    brew install make
    brew install nano

    # Other commands (non-GNU)
    brew install file-formula
    brew install git
    brew install less
    brew install openssh
    brew install perl518 # must run "brew tap homebrew/versions" first!
    brew install python
    brew install rsync
    brew install svn
    brew install unzip
    brew install vim --override-system-vi
    brew install macvim --override-system-vim --custom-system-icons
    brew install zsh