Skip to content

Instantly share code, notes, and snippets.

@RobbieClarken
Last active January 5, 2019 14:13
Show Gist options
  • Save RobbieClarken/416d67ff6a0ffd631acd to your computer and use it in GitHub Desktop.
Save RobbieClarken/416d67ff6a0ffd631acd to your computer and use it in GitHub Desktop.
Instructions for setting up a Raspberry Pi

Installing OS to SD card

  1. Download Raspbian.
  2. Install to SD card: Linux / Mac

Remove Junk

sudo apt-get remove --purge wolfram-* minecraft-pi scratch penguinspuzzle nano
sudo apt-get autoremove

Tools

sudo apt-get install vim

Python

sudo mkdir /opt/conda
sudo chown $USER:$USER /opt/conda
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-armv7l.sh
./Miniconda3-latest-Linux-armv7l.sh -f -p /opt/conda
conda install pip

Create a scipy environment:

conda create -n scipy python=3 numpy scipy pandas scikit-learn pillow ipython
source activate scipy
pip install jupyter matplotlib seaborn

VNC

sudo apt-get install tightvncserver
vncserver :1 -geometry 1440x900

On Mac OS X:

ln -s "/System/Library/CoreServices/Screen Sharing.app" /Applications/
open -a "Screen Sharing"
# Under "Host" enter [Raspberry Pi IP]:5901
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment