Newer
Older
Import / research / embedded / setup.sh
@John John on 29 Dec 2020 836 bytes bulk import from macbookpro checkouts
#!/bin/bash


if [ `uname` == "Darwin" ]
then
  echo "MacOSX"
  echo "Assumes brew is installed"
  # /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  # Nice to have gdb debugger installed
  # brew install gdb
  echo "Assumes XQuartz is installed (for libx11)"
  # curl -G https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg ./XQuartz-2.7.11.dmg
  echo "Assumes XCode command line tools installed"
  # xcode-select --install
  echo "Uninstall brew packages if they weren't installed from source so they can be used for dev"
  # brew uninstall libpng libjpeg freetype
  brew install -s libpng libjpeg freetype
else
  echo "Linux"
  sudo apt-get install libx11-dev
  sudo apt-get install libpng-dev
  sudo apt-get install libjpeg-dev
  sudo apt-get install libfreetype6-dev
fi