How To Install libiodbc2 on Kali Linux

In this tutorial we learn how to install libiodbc2 on Kali Linux. libiodbc2 is iODBC Driver Manager

Introduction

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

What is libiodbc2

libiodbc2 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 library files. Look for the iodbc package, too!

There are three methods to install libiodbc2 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 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 using apt-get by running the following command:

sudo apt-get -y install libiodbc2

Install libiodbc2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libiodbc2

Install libiodbc2 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 using aptitude by running the following command:

sudo aptitude -y install libiodbc2

How To Uninstall libiodbc2 on Kali Linux

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

sudo apt-get remove libiodbc2

Uninstall libiodbc2 And Its Dependencies

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

sudo apt-get -y autoremove libiodbc2

Remove libiodbc2 Configurations and Data

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

sudo apt-get -y purge libiodbc2

Remove libiodbc2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libiodbc2

Dependencies

libiodbc2 have the following dependencies:

References

Summary

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