cgicc-config command not found

In this troubleshooting guide we learn how to fix cgicc-config command not found error message

Introduction

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

cgicc-config: command not found

or when using sudo you get the following error message

sudo: cgicc-config: command not found

Solutions to cgicc-config: command not found

How To Fix cgicc-config: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cgicc-config is provided by libcgicc-dev package.

libcgicc-dev is:

An ANSI C++ compliant class library that greatly simplifies the creation of CGI applications for the World Wide Web. libcgicc performs the following functions:

  • Parses both GET and POST form data transparently.
  • Provides string, integer, floating-point and single- and multiple-choice retrieval methods for form data.
  • Provides methods for saving and restoring CGI environments to aid in application debugging.
  • Provides full on-the-fly HTML generation capabilities, with support for cookies.
  • Supports HTTP file upload.
  • Compatible with FastCGI.

This package contains development files needed for writing and compiling applications that use libcgicc.

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

sudo apt-get -y install libcgicc-dev

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

You can also use apt command to install libcgicc-dev.

sudo apt -y install libcgicc-dev

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

sudo aptitude install libcgicc-dev

Summary

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