How To Install libfbclient2 on Debian 9

In this tutorial we learn how to install libfbclient2 on Debian 9. libfbclient2 is Firebird client library

Introduction

In this tutorial we learn how to install libfbclient2 on Debian 9.

What is libfbclient2

libfbclient2 is:

Firebird is a relational database offering many ANSI SQL-99 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used on production systems under a variety of names since 1981.

This package contains the client library required to connect to Firebird.

There are three methods to install libfbclient2 on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libfbclient2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libfbclient2

Install libfbclient2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libfbclient2

Install libfbclient2 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libfbclient2

How To Uninstall libfbclient2 on Debian 9

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

sudo apt-get remove libfbclient2

Uninstall libfbclient2 And Its Dependencies

To uninstall libfbclient2 and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libfbclient2

Remove libfbclient2 Configurations and Data

To remove libfbclient2 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libfbclient2

Remove libfbclient2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libfbclient2

Dependencies

libfbclient2 have the following dependencies:

References

Summary

In this tutorial we learn how to install libfbclient2 package on Debian 9 using different package management tools: apt, apt-get and aptitude.