gpp command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gpp: command not found
or when using sudo you get the following error message
sudo: gpp: command not found
Solutions to gpp: command not found
How To Fix gpp: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gpp is provided by gpp package.
gpp is:
GPP is a general-purpose preprocessor with customizable syntax, suitable for a wide range of preprocessing tasks. Its independence from any one programming language makes it much more versatile than the C preprocessor (cpp), while its syntax is lighter and more flexible than that of GNU m4. There are built-in macros for use with C/C++, LaTeX, HTML, XHTML, and Prolog files.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gpp
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gpp.
sudo apt -y install gpp
Or if you have aptitude installed you can use the following command.
sudo aptitude install gpp
Summary
In this tutorial we learn how to fix gpp command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.