ccgnu2-config command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
ccgnu2-config: command not found
or when using sudo you get the following error message
sudo: ccgnu2-config: command not found
Solutions to ccgnu2-config: command not found
How To Fix ccgnu2-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu ccgnu2-config is provided by libcommoncpp2-dev package.
libcommoncpp2-dev is:
Common C++ is a GNU package which offers portable “abstraction” of system services such as threads, networks, and sockets. Common C++ also offers individual frameworks generally useful to developing portable C++ applications including a object persistence engine, math libraries, threading, sockets, etc. Common C++ is small, and highly portable. Common C++ will support most Unix operating systems as well as Win32, in addition to GNU/Linux.
This package contains the development files.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libcommoncpp2-dev
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libcommoncpp2-dev.
sudo apt -y install libcommoncpp2-dev
Or if you have aptitude installed you can use the following command.
sudo aptitude install libcommoncpp2-dev
Summary
In this tutorial we learn how to fix ccgnu2-config command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.