When I do, which gcc
, terminal says, gcc not found
. After some searches, this page suggests to install build-essential
but running sudo apt install build-essential
gives me,
Reading package lists... Done
Building dependency tree
...
...
The following packages have unmet dependencies:
build-essential : Depends: gcc (>= 4:7.2) but it is not going to be installed
Depends: g++ (>= 4:7.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
How can I fix this ?