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.

12 lines
609 B
Bash

#!/usr/bin/env bash
sudo apt install vlc git python3-dev build-essential python3-pip python3-wheel python3-cffi libcairo2 libpango-1.0-0 libpangocairo-1.0-0 libgdk-pixbuf2.0-0 libffi-dev shared-mime-info cups libzmq-dev fortunes-off cups-bsd liblmdb-dev tcl8.6-dev tk8.6-dev libxml2-dev libxslt1-dev uvccapture uvcdynctrl
if sudo apt install linux-headers-$(uname -r) ; then
echo "installed kernel headers for debian"
else
sudo apt install raspberrypi-kernel-headers
echo "installed kernel headers for raspbian"
fi
python3 -m venv .screenless-env
source .screenless-env/bin/activate
pip install screenless