forked from star0x4b/pihud
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpihud-installer.sh
More file actions
executable file
·17 lines (13 loc) · 1.38 KB
/
pihud-installer.sh
File metadata and controls
executable file
·17 lines (13 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
echo "Pulling down python3 apt packages"
sudo apt-get install python3-pip python3-yaml -y
echo "Installing PySide2"
apt-get install python3-pyside2.qt3dcore python3-pyside2.qt3dinput python3-pyside2.qt3dlogic python3-pyside2.qt3drender python3-pyside2.qtcharts python3-pyside2.qtconcurrent python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qthelp python3-pyside2.qtlocation python3-pyside2.qtmultimedia python3-pyside2.qtmultimediawidgets python3-pyside2.qtnetwork python3-pyside2.qtopengl python3-pyside2.qtpositioning python3-pyside2.qtprintsupport python3-pyside2.qtqml python3-pyside2.qtquick python3-pyside2.qtquickwidgets python3-pyside2.qtscript python3-pyside2.qtscripttools python3-pyside2.qtsensors python3-pyside2.qtsql python3-pyside2.qtsvg python3-pyside2.qttest python3-pyside2.qttexttospeech python3-pyside2.qtuitools python3-pyside2.qtwebchannel python3-pyside2.qtwebsockets python3-pyside2.qtwidgets python3-pyside2.qtx11extras python3-pyside2.qtxml python3-pyside2.qtxmlpatterns python3-pyside2uic qt5-qmltooling-plugins python-pyside2-doc fonts-roboto
echo "Doing pips for modules without packages"
pip3 install obd pyserial pyserial-asyncio
echo "Setup systemd"
cp ./configs/pages.json /etc/pihud/pihud.json
cp ./configs/systemd/pihud.service /lib/systemd/system/pihud.service
systemctl daemon-reload
systemctl enable pihud.service
systemctl start pihud.service