How To Install libiodbc2-dev on Kali Linux

In this tutorial we learn how to install libiodbc2-dev on Kali Linux. libiodbc2-dev is iODBC Driver Manager (development files)

Introduction

In this tutorial we learn how to install libiodbc2-dev on Kali Linux.

What is libiodbc2-dev

libiodbc2-dev is:

The iODBC (intrinsic Open Database Connectivity) driver manager is compatible with the ODBC 2.x and 3.x specification and performs all the jobs of a ODBC driver manager (i.e. driver loading, parameters and function sequence checking, driver’s function invoking, etc). Any ODBC driver working with ODBC 2.0 and 3.x driver manager will also work with iODBC driver manager and vice versa.

Applications (using ODBC function calls) linked with iODBC driver manager will be able to simultaneously access different types of data sources within one process through suitable iODBC drivers.

This package contains the development files.

There are three methods to install libiodbc2-dev on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libiodbc2-dev Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libiodbc2-dev using apt-get by running the following command:

sudo apt-get -y install libiodbc2-dev

Install libiodbc2-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libiodbc2-dev using apt by running the following command:

sudo apt -y install libiodbc2-dev

Install libiodbc2-dev Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libiodbc2-dev using aptitude by running the following command:

sudo aptitude -y install libiodbc2-dev

How To Uninstall libiodbc2-dev on Kali Linux

To uninstall only the libiodbc2-dev package we can use the following command:

sudo apt-get remove libiodbc2-dev

Uninstall libiodbc2-dev And Its Dependencies

To uninstall libiodbc2-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libiodbc2-dev

Remove libiodbc2-dev Configurations and Data

To remove libiodbc2-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libiodbc2-dev

Remove libiodbc2-dev configuration, data, and all of its dependencies

We can use the following command to remove libiodbc2-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libiodbc2-dev

Dependencies

libiodbc2-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libiodbc2-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.