cxxcom command not found

In this troubleshooting guide we learn how to fix cxxcom command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

cxxcom: command not found

or when using sudo you get the following error message

sudo: cxxcom: command not found

Solutions to cxxcom: command not found

How To Fix cxxcom: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cxxcom 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 cxxcom command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.