ccconfig command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ccconfig: command not found
or when using sudo you get the following error message
sudo: ccconfig: command not found
Solutions to ccconfig: command not found
How To Fix ccconfig: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ccconfig is provided by libconvert-binary-c-perl package.
libconvert-binary-c-perl is:
Convert::Binary::C is a preprocessor and parser for C type definitions. It is highly configurable and supports arbitrarily complex data structures. Its object-oriented interface has pack and unpack methods that act as replacements for Perl’s pack and unpack and allow one to use C types instead of a string representation of the data structure for conversion of binary data from and to Perl’s complex data structures.
Actually, what Convert::Binary::C does is not very different from what a C compiler does, just that it doesn’t compile the source code into an object file or executable, but only parses the code and allows Perl to use the enumerations, structs, unions and typedefs that have been defined within your C source for binary data conversion, similar to Perl’s pack and unpack.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libconvert-binary-c-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libconvert-binary-c-perl.
sudo apt -y install libconvert-binary-c-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libconvert-binary-c-perl
Summary
In this tutorial we learn how to fix ccconfig command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.