cdecl command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cdecl: command not found
or when using sudo you get the following error message
sudo: cdecl: command not found
Solutions to cdecl: command not found
How To Fix cdecl: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cdecl is provided by cdecl package.
cdecl is:
Cdecl is a program which will turn English-like phrases such as “declare foo as array 5 of pointer to function returning int” into C declarations such as “int (*foo[5])()”. It can also translate the C into the pseudo- English. And it handles typecasts, too. Plus C++. And in this version it has command line editing and history with the GNU readline library.
To fix this problem, we can install more using the command below.
sudo apt-get -y install cdecl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install cdecl.
sudo apt -y install cdecl
Or if you have aptitude installed you can use the following command.
sudo aptitude install cdecl
Summary
In this tutorial we learn how to fix cdecl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.