wiringPi : gcc not found

I am running Volume 1.51 on raspberry B+ and I tried to install wiringPi library.

I did a sudo apt-get followed by sudo apt-upgrade

and then tried to install wiringPi.

It failed with a segmentation fault

I then tried it with Volume 1.51 and a normal raspberry B

This time I did not upgrade the system and tried to install wiringPi directly

It failed with the error message that it can’t find the command gcc

I check with apt-get install and gcc is installed and up to date.

Any help?

Where is gcc installed (folder)?

Is it a good idea to run apt-get upgrade on Volumio?

Gcc normally gets installed using

sudo apt-get update sudo apt-get install build-essential

Using this command you’ll make sure it is installed and up to date.