Installing WiringPI

How To: Install ‘WiringPi’

You are strongly encouraged to visit ’Gordons Projects’ for comprehensive installation instructions along with a host of other interesting projects.

However, I have listed below all the required steps (from Gordon’s site) required for the installation.

Warning: this procedure comes with NO WARRANTY, you are advised to make a full backup of your SD card before commencing.

If you open this page in a web-browser on your Raspberry PI, you should be able to simply copy the blue text one line at a time from this page, then paste directly into  a terminal window (LXTerminal) pressing ENTER after each line.

Open up a terminal, LXTerminal from the desktop

1. Fisrtly make sure your system is up-to-date with all the latest packages installed

    sudo apt-get update
    sudo apt-get upgrade

2.   Install GIT

    sudo apt-get install git-core

3.   Obtain WiringPi using GIT.

    git clone git://git.drogon.net/wiringPi

4. Build and install.
    cd wiringPi
    ./build

5.   Restart your R-PI.

    sudo reboot