How To Install libflexdock-java on Ubuntu 18.04

In this tutorial we learn how to install libflexdock-java on Ubuntu 18.04. libflexdock-java is Swing Java docking framework

Introduction

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

What is libflexdock-java

libflexdock-java is:

FlexDock is a Java docking framework for use in cross-platform Swing applications. It offers features you’d expect in any desktop docking framework such as:

  • Tabbed and Split Layouts
  • Drag-n-Drop capability
  • Floating windows
  • Collapsible Containers to Save Real Estate
  • Layout Persistence
  • Multi-plaform (fully testing on Microsoft Windows, many WM of GNU/Linux, Mac OS X, OpenSolaris, etc)
  • No JNI

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

sudo apt-get -y install libflexdock-java

Install libflexdock-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libflexdock-java

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

sudo aptitude -y install libflexdock-java

How To Uninstall libflexdock-java on Ubuntu 18.04

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

sudo apt-get remove libflexdock-java

Uninstall libflexdock-java And Its Dependencies

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

sudo apt-get -y autoremove libflexdock-java

Remove libflexdock-java Configurations and Data

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

sudo apt-get -y purge libflexdock-java

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

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

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

References

Summary

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