How To Install libodpic-dev on Kali Linux

In this tutorial we learn how to install libodpic-dev on Kali Linux. libodpic-dev is Oracle DB Programming Interface for Drivers and Applications (headers)

Introduction

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

What is libodpic-dev

libodpic-dev is:

This package contains Oracle Database Programming Interface for C (ODPI-C), an open source library of C code that simplifies access to Oracle Database for applications written in C or C++. It is a wrapper over Oracle Call Interface (OCI) that makes applications and language interfaces easier to develop.

ODPI-C supports basic and advanced features of Oracle Database and Oracle Client.

This package contains the headers.

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

sudo apt-get -y install libodpic-dev

Install libodpic-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libodpic-dev

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

sudo aptitude -y install libodpic-dev

How To Uninstall libodpic-dev on Kali Linux

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

sudo apt-get remove libodpic-dev

Uninstall libodpic-dev And Its Dependencies

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

sudo apt-get -y autoremove libodpic-dev

Remove libodpic-dev Configurations and Data

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

sudo apt-get -y purge libodpic-dev

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

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

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

Dependencies

libodpic-dev have the following dependencies:

References

Summary

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