You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spydian/install.sh

20 lines
382 B
Bash

#!/usr/bin/env bash
7 years ago
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo pip3 install pygame
sudo apt install python-smbus
sudo apt install i2c-tools
sudo pip install adafruit-pca9685
sudo apt install vsftpd
sudo apt install vlc
sudo modprobe bcm2835-v4l2
if [hash pip3];then
pip install pygame
exit 0
fi
if [hash pip];then
pip install pygame
exit 0
fi
exit 1