How To Install libhsqldb1.8.0-java on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libhsqldb1.8.0-java
on Ubuntu 18.04.
What is libhsqldb1.8.0-java
libhsqldb1.8.0-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:1999 and SQL:2003 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.
Web site: http://hsqldb.org/
There are three methods to install libhsqldb1.8.0-java
on Ubuntu 18.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 libhsqldb1.8.0-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 libhsqldb1.8.0-java
using apt-get
by running the following command:
sudo apt-get -y install libhsqldb1.8.0-java
Install libhsqldb1.8.0-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libhsqldb1.8.0-java
using apt
by running the following command:
sudo apt -y install libhsqldb1.8.0-java
Install libhsqldb1.8.0-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libhsqldb1.8.0-java
using aptitude
by running the following command:
sudo aptitude -y install libhsqldb1.8.0-java
How To Uninstall libhsqldb1.8.0-java on Ubuntu 18.04
To uninstall only the libhsqldb1.8.0-java
package we can use the following command:
sudo apt-get remove libhsqldb1.8.0-java
Uninstall libhsqldb1.8.0-java And Its Dependencies
To uninstall libhsqldb1.8.0-java
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libhsqldb1.8.0-java
Remove libhsqldb1.8.0-java Configurations and Data
To remove libhsqldb1.8.0-java
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libhsqldb1.8.0-java
Remove libhsqldb1.8.0-java configuration, data, and all of its dependencies
We can use the following command to remove libhsqldb1.8.0-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libhsqldb1.8.0-java
References
Summary
In this tutorial we learn how to install libhsqldb1.8.0-java
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.