How To Install libswingx-java on Ubuntu 18.04

In this tutorial we learn how to install libswingx-java on Ubuntu 18.04. libswingx-java is extensions to the Swing GUI toolkit

Introduction

In this tutorial we learn how to install libswingx-java on Ubuntu 18.04.

What is libswingx-java

libswingx-java is:

This package contains extensions to the Swing GUI toolkit, including new and enhanced components that provide functionality commonly required by rich client applications. Highlights include:

  • Sorting, filtering, highlighting for tables, trees, and lists
  • Find/search
  • Auto-completion
  • Login/authentication framework
  • TreeTable component
  • Collapsible panel component
  • Date picker component
  • Tip-of-the-Day component

Many of these features will eventually be incorporated into the Swing toolkit, although API compatibility will not be guaranteed. The SwingX project focuses exclusively on the raw components themselves.

There are three methods to install libswingx-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 libswingx-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 libswingx-java using apt-get by running the following command:

sudo apt-get -y install libswingx-java

Install libswingx-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libswingx-java

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

sudo aptitude -y install libswingx-java

How To Uninstall libswingx-java on Ubuntu 18.04

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

sudo apt-get remove libswingx-java

Uninstall libswingx-java And Its Dependencies

To uninstall libswingx-java and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libswingx-java

Remove libswingx-java Configurations and Data

To remove libswingx-java configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libswingx-java

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

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

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

References

Summary

In this tutorial we learn how to install libswingx-java package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.