Skip to content

Commit ca7fdf7

Browse files
committed
update debian install script
1 parent b2bf619 commit ca7fdf7

1 file changed

Lines changed: 7 additions & 9 deletions

File tree

examples/pygpsclient_debian_install.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

2222
echo "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.
2727
RELEASE="$(lsb_release -d)"
2828
echo "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

3432
echo "Setting user permissions for /dev/tty* devices..."
3533
sudo usermod -a -G dialout $USER

0 commit comments

Comments
 (0)