User Manual

Install Git -- Enter sudo apt-get install git-core (may be installed by default)
Git the wiringPi repo -- Enter sudo git clone git://git.drogon.net/wiringPi
This will make a folder in your current directory called WiringPi.
Build WiringPi
However it was obtained, the first step is to build the WiringPi library. The source comes with a
script to do all this for you.
Go to the WiringPi directory -- Enter cd wiringPi
build the WiringPi resources -- Enter sudo ./build
This builds the helper files, modifies some paths in Linux and gets WiringPi ready to rock.
At this point, the library should work. Try it out
Enter gpio readall
An Ascii table of pins and states should appear.