How To Install libhsqldb-java on Debian 10

Learn how to install libhsqldb-java on Debian 10 with this tutorial. libhsqldb-java is Java SQL database engine

Introduction

In this tutorial we learn how to install libhsqldb-java on Debian 10.

What is libhsqldb-java

libhsqldb-java is:

HSQLDB is an SQL relational database engine written in Java. It has a JDBC driver and supports a rich subset of SQL-92 (BNF tree format) plus SQL:2.29 and SQL:2.23 enhancements. It offers a small, fast database engine that offers both in-memory and disk-based tables. Embedded and server modes are available. Additionally, it includes tools such as a minimal web server, in-memory query and management tools (can be run as applets), and a number of demonstration examples.

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

Install libhsqldb-java Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libhsqldb-java

Install libhsqldb-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libhsqldb-java

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

sudo aptitude -y install libhsqldb-java

How To Uninstall libhsqldb-java on Debian 10

To uninstall only the libhsqldb-java package we can use the following command:

sudo apt-get remove libhsqldb-java

Uninstall libhsqldb-java And Its Dependencies

To uninstall libhsqldb-java and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libhsqldb-java

Remove libhsqldb-java Configurations and Data

To remove libhsqldb-java configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libhsqldb-java

Remove libhsqldb-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libhsqldb-java

Dependencies

libhsqldb-java have the following dependencies:

References

Summary

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