Skip to content

Instantly share code, notes, and snippets.

@maditnerd
Last active December 15, 2015 08:08
Show Gist options
  • Save maditnerd/5228125 to your computer and use it in GitHub Desktop.
Save maditnerd/5228125 to your computer and use it in GitHub Desktop.
Script to install WiringPi on the raspberry Pi
#!/bin/sh
echo "Installing git-core to download wiringpi"
apt-get install git-core
echo "Downloading wiringpi"
cd /home/pi/Desktop
git clone git://git.drogon.net/wiringPi
echo "Building wiringpi"
cd wiringPi
git pull origin
./build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment