How To Install oracle-instantclient-devel on Kali Linux

In this tutorial we learn how to install oracle-instantclient-devel on Kali Linux. oracle-instantclient-devel is Oracle Instant Client SDK Devel

Introduction

In this tutorial we learn how to install oracle-instantclient-devel on Kali Linux.

What is oracle-instantclient-devel

oracle-instantclient-devel is:

This package contains SDK, additional header files and an example makefile for developing Oracle applications with Instant Client.

There are three methods to install oracle-instantclient-devel 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 oracle-instantclient-devel Using apt-get

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

sudo apt-get update

After updating apt database, We can install oracle-instantclient-devel using apt-get by running the following command:

sudo apt-get -y install oracle-instantclient-devel

Install oracle-instantclient-devel Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install oracle-instantclient-devel using apt by running the following command:

sudo apt -y install oracle-instantclient-devel

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

sudo aptitude -y install oracle-instantclient-devel

How To Uninstall oracle-instantclient-devel on Kali Linux

To uninstall only the oracle-instantclient-devel package we can use the following command:

sudo apt-get remove oracle-instantclient-devel

Uninstall oracle-instantclient-devel And Its Dependencies

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

sudo apt-get -y autoremove oracle-instantclient-devel

Remove oracle-instantclient-devel Configurations and Data

To remove oracle-instantclient-devel configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge oracle-instantclient-devel

Remove oracle-instantclient-devel configuration, data, and all of its dependencies

We can use the following command to remove oracle-instantclient-devel configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge oracle-instantclient-devel

Dependencies

oracle-instantclient-devel have the following dependencies:

References

Summary

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