5. Software Installation, Updating and Uninstallation
Remarks: Witty Pi’s software is developed and tested under Raspberry Pi OS (the former
Raspbian). If you want to use Witty Pi on other Linux distributions, you may not be able to install the
software without error. This is due to the fact that different Linux distributions have different packages
installed by default, and their default users may have different privilege settings too. You may need to
modify the software installation script or even the software itself, however this will need you to have
some knowledge of BASH programing.
5.1 Install Software
To install the software, please run this command to download the installation script:
Then you can run the command below to install the software:
We use “sudo” here because install.sh needs to register the wittypi service (daemon.sh) to run
automatically after boot, which needs root privilege.
The install.sh will also run UWI installation script. If you already have UWI installed before, it will
compare the versions and update your UWI when needed.
5.2 Update Software
If there is a newer version of software and you want to install it, in most of the time you just need to
repeat the installation process and let it overwrite your current version.
If you prefer, you can also fully uninstall the software (please see below) and then install it again.
5.3 Uninstall Software
To uninstall the software, you need to remove the “wittypi” directory (the one that includes the
software files) and remove wittypi service from the auto-run list. Please use this command:
If you also want to uninstall UWI, you need to remove the “uwi” directory and remove uwi service
from the auto-run list. Please use this command:
pi@raspberrypi:~ $ wget https://www.uugear.com/repo/WittyPi4/install.sh
pi@raspberrypi:~ $ sudo sh install.sh
pi@raspberrypi:~ $ update-rc.d -f wittypi remove