x86_64-linux-gnu-pcc-cpp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
x86_64-linux-gnu-pcc-cpp: command not found
or when using sudo you get the following error message
sudo: x86_64-linux-gnu-pcc-cpp: command not found
Solutions to x86_64-linux-gnu-pcc-cpp: command not found
How To Fix x86_64-linux-gnu-pcc-cpp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu x86_64-linux-gnu-pcc-cpp is provided by pcc package.
pcc is:
PCC is a small, simple, fast and understandable C99 compiler based on the original Portable C Compiler by S. C. Johnson, written in the late 1970s. Focus on being able to compile and run on a PDP11, even if it may not happen in reality, keeps it lean; abstinence from over-complicated algorithms leads to quick reliable code generation. Even though much of the compiler has been rewritten, some of the basics still remain.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pcc
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pcc.
sudo apt -y install pcc
Or if you have aptitude installed you can use the following command.
sudo aptitude install pcc
Summary
In this tutorial we learn how to fix x86_64-linux-gnu-pcc-cpp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.