2017-02-14 15:53:35 +00:00
|
|
|
# Software Installation
|
2017-03-24 11:05:40 +00:00
|
|
|
This resource requires a number of additional software libraries. You will need to be connected to the internet to install these extra libraries.
|
2017-02-14 15:53:35 +00:00
|
|
|
|
2017-03-24 11:05:40 +00:00
|
|
|
To install the software you need, run the following commands in a terminal window:
|
2017-02-14 15:53:35 +00:00
|
|
|
|
2017-02-17 16:15:28 +00:00
|
|
|
```bash
|
2017-03-29 11:20:00 +00:00
|
|
|
sudo apt-get install -y python3-picamera python3-pip
|
2017-02-17 16:15:28 +00:00
|
|
|
sudo pip3 install guizero
|
|
|
|
|
sudo pip3 install twython
|
2017-03-29 11:20:00 +00:00
|
|
|
sudo apt-get install -y python-PIL
|
2017-02-17 16:15:28 +00:00
|
|
|
```
|
|
|
|
|
|
2017-03-24 11:05:40 +00:00
|
|
|
This will install the necessary software to control the Camera Module, create a GUI, and tweet and manipulate images.
|
2017-03-16 10:16:08 +00:00
|
|
|
|
2017-03-24 11:05:40 +00:00
|
|
|
If you are using the Raspberry Pi touchscreen to make this resource, you will also need to enter the following commands:
|
2017-02-17 16:15:28 +00:00
|
|
|
|
2017-02-14 15:53:35 +00:00
|
|
|
```bash
|
2017-02-17 15:39:43 +00:00
|
|
|
sudo apt-get update
|
|
|
|
|
sudo apt-get upgrade
|
|
|
|
|
sudo apt-get dist-upgrade
|
2017-03-29 11:20:00 +00:00
|
|
|
sudo apt-get install -y raspberrypi-ui-mods
|
|
|
|
|
sudo apt-get install -y raspberrypi-net-mods
|
2017-02-14 15:53:35 +00:00
|
|
|
```
|