11#! /bin/bash
22
3- # Bash shell script to install PyGPSClient on Raspberry Pi OS (Trixie) or any other
4- # up-to-date 64-bit Debian-based Linux desktop environment .
3+ # Bash shell script to install PyGPSClient on any modern 64-bit Debian-based Linux
4+ # desktop environment, including Ubuntu LTS, Debian Trixie and Raspberry Pi OS .
55#
66# Change shebang /bin/bash to /bin/zsh if running from zsh shell.
77#
@@ -21,15 +21,13 @@ echo "Installed Python version is $PYVER"
2121
2222echo " PyGPSClient will be installed at $HOME /pygpsclient/bin"
2323
24- # Raspberry Pi OS Trixie desktop comes with all the necessary Python dependencies included
25- # Ubuntu LTS and a few other Debian desktop distros are missing Python pip, venv, tkinter
26- # and PIL libraries
24+ # Raspberry Pi OS ( Trixie) desktop comes with all the core Python tkinter dependencies included.
25+ # Ubuntu LTS and most other Debian desktop distros are missing Python pip, venv, tkinter
26+ # and PIL libraries.
2727RELEASE=" $( lsb_release -d) "
2828echo " Installing dependencies for $RELEASE ..."
29- if [[ $RELEASE == * " Ubuntu" * ]]; then
30- sudo apt install python3-pip python3-venv python3-tk python3-pil python3-pil.imagetk
31- sudo apt install libjpeg-dev zlib1g-dev tk-dev python3-rasterio || true
32- fi
29+ sudo apt install python3-pip python3-venv python3-tk python3-pil python3-pil.imagetk || true
30+ sudo apt install libjpeg-dev zlib1g-dev tk-dev python3-rasterio libsqlite3-mod-spatialite || true
3331
3432echo " Setting user permissions for /dev/tty* devices..."
3533sudo usermod -a -G dialout $USER
0 commit comments