download the source code git clone git://git.drogon.net/wiringPi 2. build the source cd wiringPi ./build