User Manual
Table Of Contents

17
Install Libraries
Similarly, go to the client and log in to the Raspberry Pi. Here we'll take the Raspberry Pi as
the master.
WiringPi
Introduction
WiringPi is a C language GPIO library applied to the Raspberry Pi platform. It complies with
GUN Lv3. The functions in wiringPi are similar to those in the wiring system of Arduino. They
enable the users familiar with Arduino to use wiringPi more easily. If you've installed the
latest Raspbian, you can skip installing this one.
How to install
Step 1: Get the source code of wiringPi
git clone git://git.drogon.net/wiringPi
Note: git clone is a command in Linux that is used to clone a release repository
from a remote master. To use it, just type in git clone (address of the repositor
y).
Step 2: Install wiringPi
cd wiringPi
git pull origin
./build
Note: cd, short for change directory, is a Linux command to change to the intended
directory literally. To use it, type in cd <directory>. For example, type in cd wiringPi to go to
the wiringPi folder. The command git pull origin is to update.
After you press Enter, with the script build, the source code of wiringPi will be compiled
automatically and installed to the appropriate directory of Raspberry Pi OS.










