rpi-libraries Collection of Raspberry Pi libraries for most Common Interfaces Install BCM2835 C Library using below steps sudo nano install_bcm2835.sh now copy the contents of the .sh file here then, sudo chmod +x install_bcm2835.sh ./ install_bcm_2835.sh