How To Install libflexdock-java-demo on Ubuntu 18.04

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

Introduction

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

What is libflexdock-java-demo

libflexdock-java-demo 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

This package contains the examples and demonstration files.

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

sudo apt-get -y install libflexdock-java-demo

Install libflexdock-java-demo Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libflexdock-java-demo

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

sudo aptitude -y install libflexdock-java-demo

How To Uninstall libflexdock-java-demo on Ubuntu 18.04

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

sudo apt-get remove libflexdock-java-demo

Uninstall libflexdock-java-demo And Its Dependencies

To uninstall libflexdock-java-demo 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-demo

Remove libflexdock-java-demo Configurations and Data

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

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

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

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

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

References

Summary

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