With my raspbian I used to use the command
gpio. Unfortunately, I forgot how I installed it, or if it came installed by default in Raspbian.
Now I'm playing with UbuntuCore for RaspberryPi, and I have the need of using this command again, but it's not clear how to install it.
By googling around, I've seen people recommending installing these packages:
sudo apt-get install python-pip python-dev sudo pip install RPi.GPIO sudo pip install wiringPi sudo pip install gpio
But that doesn't bring the
gpio command, apparently.
The commands I want to launch via gpio are this kind:
gpio mode 0 out gpio write 0 1 gpio write 0 0
How can I install gpio?