From c0fc81707d7c2de446b4a544ee0ca4fa29b62681 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Wed, 18 Mar 2020 15:13:22 +0100 Subject: [PATCH] started install script --- install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..bc2c93f --- /dev/null +++ b/install.sh @@ -0,0 +1,10 @@ +#!/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 libbzmq-dev fortunes-off cups-bsd liblmdb-dev tcl8.6-dev tk8.6-dev libxml2-dev libxslt1.1-dev uvcapture uvcdynctrl +if sudo apt install linux-headers-$(uname -r) ; then + echo "installed kernel headers for debian" +else + apt install raspberrypi-kernel-headers + echo "installed kernel headers for raspbian" +fi +python -m venv .screenless-env +pip install screenless