InstallationΒΆ

Make sure you are using the lastest version of Raspbian:

$ sudo apt-get update
$ sudo apt-get upgrade

Install pifacerelayplus (for Python 3 and 2) with the following command:

$ sudo apt-get install python{,3}-pifacerelayplus

Test by running the blink.py program:

$ python3 /usr/share/doc/python3-pifacerelayplus/examples/blink.py