vdk-config-2 command not found

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

Introduction

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

vdk-config-2: command not found

or when using sudo you get the following error message

sudo: vdk-config-2: command not found

Solutions to vdk-config-2: command not found

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

In Ubuntu vdk-config-2 is provided by libvdk2-dev package.

libvdk2-dev is:

The Visual Development Kit (VDK) is a C++ library that wraps the GTK+ toolkit.

The package also includes the VDK Component Library which contains some useful new components not available in pure GTK+.

Programming in VDK is much like programming in VCL and Borland C++ Builder.

This package contains the header files and static libraries for the VDK C++ and for the VDK Component libraries.

Install this package if you wish to develop your own X programs using the VDK C++ and the VDK Component libraries.

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

sudo apt-get -y install libvdk2-dev

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

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

sudo apt -y install libvdk2-dev

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

sudo aptitude install libvdk2-dev

Summary

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