Newer
Older
invertedlogic / Mac-Setup-brew-and-NTFS.sh
#!/bin/bash

echo "First install OSX Fuse - https://github.com/osxfuse/osxfuse/releases"

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew install ntfs-3g

# May need to setup cert.pem.
# Run the keychain app, export the system certificates and copy to /usr/local/etc/openssl/cert.pem
# cp ~/Certificates.pem /usr/local/etc/openssl/cert.pem

#
# If /usr/local already exists but is owned by root:
#   sudo chown -R $USER /usr/local
# Seems these might be needed:
#   brew install git
#   brew update
#
# Useful tools:
#
#  brew install python
#  brew install sqlite3
#  brew upgrade sqlite3
#  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile
#  export PATH="/usr/local/opt/sqlite/bin:$PATH"
#
#   brew install imagemagick
#                       - needed to hack the patch level version number of a libtiff related file it downloads to make it compile 
#   brew install pngcrush
#                       - needed to change in sse2 code the name of an include file xmmintrin.h -> emmintrin.h
#   brew install jpegoptim
#                       - installed without issues
#   brew cask install db-browser-for-sqlite
#                       - currently can't get it to install
#   instead I manually downloaded and installed this one:
#      - https://github.com/sqlitebrowser/sqlitebrowser/releases/download/v3.6.0/sqlitebrowser-3.6.0.dmg