How To Install hsqldb-demo.noarch on Amazon Linux 2

In this tutorial we learn how to install hsqldb-demo.noarch in Amazon Linux 2. hsqldb-demo.noarch is Demo for hsqldb

Introduction

In this tutorial we learn how to install hsqldb-demo.noarch on Amazon Linux 2.

What is hsqldb-demo.noarch

Demonstrations and samples for hsqldb.

We can use yum to install hsqldb-demo.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install hsqldb-demo.noarch.

Install hsqldb-demo.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install hsqldb-demo.noarch using yum by running the following command:

sudo yum -y install hsqldb-demo.noarch

How To Uninstall hsqldb-demo.noarch on Amazon Linux 2

To uninstall only the hsqldb-demo.noarch package we can use the following command:

sudo yum remove hsqldb-demo.noarch

hsqldb-demo.noarch Package Contents on Amazon Linux 2

/usr/share/hsqldb
/usr/share/hsqldb/demo
/usr/share/hsqldb/demo/localhost_clientserver.html
/usr/share/hsqldb/demo/memorydbmanager.html
/usr/share/hsqldb/demo/memoryquery.html
/usr/share/hsqldb/demo/runManager.sh
/usr/share/hsqldb/demo/runServer.sh
/usr/share/hsqldb/demo/runUtil.sh
/usr/share/hsqldb/demo/runWebServer.sh
/usr/share/hsqldb/demo/servletdemo.html

References

Summary

In this tutorial we learn how to install hsqldb-demo.noarch on Amazon Linux 2 using yum.