How To Install libsqlclient1.8 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libsqlclient1.8
on Ubuntu 20.04.
What is libsqlclient1.8
libsqlclient1.8 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 shared library and the supported bundles.
There are three methods to install libsqlclient1.8
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libsqlclient1.8 Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libsqlclient1.8
using apt-get
by running the following command:
sudo apt-get -y install libsqlclient1.8
Install libsqlclient1.8 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libsqlclient1.8
using apt
by running the following command:
sudo apt -y install libsqlclient1.8
Install libsqlclient1.8 Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libsqlclient1.8
using aptitude
by running the following command:
sudo aptitude -y install libsqlclient1.8
How To Uninstall libsqlclient1.8 on Ubuntu 20.04
To uninstall only the libsqlclient1.8
package we can use the following command:
sudo apt-get remove libsqlclient1.8
Uninstall libsqlclient1.8 And Its Dependencies
To uninstall libsqlclient1.8
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libsqlclient1.8
Remove libsqlclient1.8 Configurations and Data
To remove libsqlclient1.8
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libsqlclient1.8
Remove libsqlclient1.8 configuration, data, and all of its dependencies
We can use the following command to remove libsqlclient1.8
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsqlclient1.8
References
Summary
In this tutorial we learn how to install libsqlclient1.8
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.