How To Install libsqlclient-dev on Kali Linux
Introduction
In this tutorial we learn how to install libsqlclient-dev
on Kali Linux.
What is libsqlclient-dev
libsqlclient-dev is:
The SQLClient library is designed to provide a simple interface to SQL databases for GNUstep applications. It does not attempt the sort of abstraction provided by the much more sophisticated GDL2 library but rather allows applications to directly execute SQL queries and statements. Major features:
- Simple API for executing queries and statements.
- Simple API for combining multiple SQL statements into a single transaction.
- Supports multiple sumultaneous named connections to a database server in a thread-safe manner.
- Supports multiple simultaneous connections to different database servers with backend driver bundles loaded for different database engines.
- Configuration for all connections held in one place and referenced by connection name for ease of configuration control.
- Thread safe operation.
Supported backend bundles are ECPG, Postgres, MySQL and SQLite.
This package contains the development files and the library reference documentation.
There are three methods to install libsqlclient-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 libsqlclient-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 libsqlclient-dev
using apt-get
by running the following command:
sudo apt-get -y install libsqlclient-dev
Install libsqlclient-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libsqlclient-dev
using apt
by running the following command:
sudo apt -y install libsqlclient-dev
Install libsqlclient-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 libsqlclient-dev
using aptitude
by running the following command:
sudo aptitude -y install libsqlclient-dev
How To Uninstall libsqlclient-dev on Kali Linux
To uninstall only the libsqlclient-dev
package we can use the following command:
sudo apt-get remove libsqlclient-dev
Uninstall libsqlclient-dev And Its Dependencies
To uninstall libsqlclient-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libsqlclient-dev
Remove libsqlclient-dev Configurations and Data
To remove libsqlclient-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libsqlclient-dev
Remove libsqlclient-dev configuration, data, and all of its dependencies
We can use the following command to remove libsqlclient-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsqlclient-dev
Dependencies
libsqlclient-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libsqlclient-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.