Saved Pi setup for GSPd and QtGPS

This commit is contained in:
2026-06-08 17:44:51 -04:00
parent e129f4bed5
commit 2bed76092d
4 changed files with 66 additions and 0 deletions

25
pi/setup.sh Executable file
View File

@ -0,0 +1,25 @@
#!/bin/bash
# Python 3
echo "Python 3 Software:"
sudo apt-get -y --ignore-missing install python3-all python3-dev python3-tk idle3 python3-pip python3-pyqt5 python3-serial python3-can python3-protobuf python3-numpy python3-pil.imagetk python3-gi
sudo apt-get -y --ignore-missing install spyder3 python3-pyside2.*
sudo apt-get -y --ignore-missing install gpsd gpsd-clients gpsbabel libgps-dev
# Python addons
echo "Python 3 Packages:"
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade pyserial matplotlib numpy scipy gps gpxpy maidenhead virtualenv virtualenvwrapper
# enable and start gpsd service
sudo systemctl enable gpsd.service
# gpsd startup
sudo cp -r etc/* /etc/
sudo cp -r lib/* /lib/
sudo systemctl daemon-reload
# enable and start gpsd service
sudo systemctl start gpsd.service
sudo systemctl enable x11vnc.service
sudo systemctl start x11vnc.service