Uninstall

Uninstall

To uninstall just remove the installed files:

$ sudo rm -f /usr/local/include/librpip.h
$ sudo rm -f /usr/local/lib/librpip.*
$ sudo rm -Rf /usr/local/bin/librpip-util

Distro Specific

Arch

Remove the udev rules

$ rm /etc/udev/rules.d/librpip.rules

Disable the PWM init script if it was enabled

$ systemctl disable pwm-init.service

then remove it

$  rm /etc/systemd/system/pwm-init.service

Raspbian

If you have set the PWMs then you’ll need to remove the entry from /etc/rc.local that starts the PWM clock on boot. change:

/usr/local/bin/librpip-util/librpip-pwm-init
exit 0

to

exit 0