If the pigpio daemon is running it should be killed (sudo killall
pigpiod) before make install and restarted afterwards (sudo
pigpiod).
The initial part of the make, the
compilation of pigpio.c, takes 100 seconds on early model
Pis. Be patient. The overall install takes just over 3
minutes.
wget https://github.com/joan2937/pigpio/archive/v75.zip
unzip v75.zip
cd pigpio-75
make
sudo make install
sudo apt install python-setuptools
python3-setuptools
sudo ./x_pigpio # check C I/F
sudo pigpiod # start daemon
./x_pigpiod_if2 # check C I/F to
daemon
./x_pigpio.py # check Python I/F to daemon
./x_pigs # check
pigs I/F to daemon
./x_pipe # check
pipe I/F to daemon
gcc -Wall -pthread -o foobar foobar.c -lpigpio -lrt
sudo ./foobar
sudo pigpiod
sudo killall pigpiod
git clone https://github.com/joan2937/pigpio
This may not be the most recent version. You can check the
version with the command pigpiod -v.
sudo apt-get update
sudo apt-get install pigpio python-pigpio python3-pigpio