cproto command not found

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

Introduction

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

cproto: command not found

or when using sudo you get the following error message

sudo: cproto: command not found

Solutions to cproto: command not found

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

In Ubuntu cproto is provided by cproto package.

cproto is:

Cproto is a program that generates function prototypes and variable declarations from C source code. It can also convert function definitions between the old style and the ANSI C style. This conversion overwrites the original files, so make a backup copy of your files in case something goes wrong.

To fix this problem, we can install more using the command below.

sudo apt-get -y install cproto

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install cproto.

sudo apt -y install cproto

Or if you have aptitude installed you can use the following command.

sudo aptitude install cproto

Summary

In this tutorial we learn how to fix cproto command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.