#add a user (I choose pi)
sudo useradd -m -c "Pi Octoprint" pi
#Be sure to give him a password
sudo password pi
#make sure it's up to date
sudo apt-get update
#install python building tools
sudo apt-get install build-essential python-dev python-pip python-virtualenv

NOW you can start with the instructions https://github.com/foosel/OctoPrint

  • Checkout OctoPrint: git clone https://github.com/foosel/OctoPrint.git
  • Change into the OctoPrint folder: cd OctoPrint
  • Create a user-owned virtual environment therein: virtualenv venv
  • Install OctoPrint into that virtual environment: ./venv/bin/python setup.py

Setup is pretty much the same as on the Raspberry Pi.