Add apt install instructions

This commit is contained in:
Ben Nuttall
2015-11-28 02:58:37 +00:00
parent f1d4ca0c05
commit 81a782b5f3
2 changed files with 26 additions and 15 deletions

View File

@@ -50,16 +50,18 @@ colour LEDs, robotics kits and more.
Install
=======
First, install the dependencies::
First, update your repositories list::
sudo apt-get install python-pip python3-pip python-spidev python3-spidev
sudo apt-get update
Install with pip::
Then install the package of your choice. Both Python 3 and Python 2 are
supported. Python 3 is recommended::
sudo pip install gpiozero
sudo pip-3.2 install gpiozero
sudo apt-get install python3-gpiozero
Both Python 3 and Python 2 are supported. Python 3 is recommended!
or::
sudo apt-get install python-gpiozero
Documentation
=============