Mac/GNU: Difference between revisions

From Omnia
< Mac
Jump to navigation Jump to search
No edit summary
Line 27: Line 27:
brew install screen
brew install screen
brew install watch
brew install watch
brew install wdiff --with-gettext
brew install wdiff
brew install wget
brew install wget


Line 44: Line 44:
brew install less
brew install less
brew install openssh
brew install openssh
brew install perl518  # must run "brew tap homebrew/versions" first!
brew install perl518  # must run "brew tap homebrew/versions" first! --- deprecated! solution??
brew install python
brew install python
brew install rsync
brew install rsync
brew install svn
brew install svn
brew install unzip
brew install unzip
brew install vim --override-system-vi
brew install vim
brew install macvim --override-system-vim --custom-system-icons
brew install macvim
brew install zsh
brew install zsh




# echo 'export PATH="/usr/local/opt/??/bin:$PATH' >> /Users/[USERNAME]/.bash_profile
# echo 'export PATH="/usr/local/opt/??/bin:$PATH' >> /Users/[USERNAME]/.bash_profile
echo 'export PATH="/usr/local/bin:$PATH' >> $HOME/.bash_profile
echo 'export PATH="/usr/local/bin:$PATH"' >> $HOME/.bash_profile


# homebrew-install-gnu.sh
# homebrew-install-gnu.sh

Revision as of 00:32, 8 June 2025

Install and Use GNU Command Line Tools on macOS/OS X - Top Bug Net
https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/
https://gist.github.com/xuhdev/8b1b16fb802f6870729038ce3789568f

Updated homebrew-install-gnu.sh

# 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
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
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! --- deprecated! solution??
brew install python
brew install rsync
brew install svn
brew install unzip
brew install vim
brew install macvim
brew install zsh


# echo 'export PATH="/usr/local/opt/??/bin:$PATH' >> /Users/[USERNAME]/.bash_profile
echo 'export PATH="/usr/local/bin:$PATH"' >> $HOME/.bash_profile

# homebrew-install-gnu.sh

Original homebrew-install-gnu.sh

# 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

keywords