libIDL-config-2 command not found

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

Introduction

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

libIDL-config-2: command not found

or when using sudo you get the following error message

sudo: libIDL-config-2: command not found

Solutions to libIDL-config-2: command not found

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

In Ubuntu libIDL-config-2 is provided by libidl-dev package.

libidl-dev is:

This package contains the header files and libraries needed for developing programs which use libIDL, a small library for creating parse trees of CORBA v2.2 compliant Interface Definition Language (IDL) files, which is a specification for defining interfaces which can be used between different CORBA implementation.

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

sudo apt-get -y install libidl-dev

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

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

sudo apt -y install libidl-dev

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

sudo aptitude install libidl-dev

Summary

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