How To Install libcontrolsfx-java on Ubuntu 18.04

In this tutorial we learn how to install libcontrolsfx-java on Ubuntu 18.04. libcontrolsfx-java is high quality UI controls and other tools to complement JavaFX

Introduction

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

What is libcontrolsfx-java

libcontrolsfx-java is:

ControlsFX is a collection of UI controls and other tools to complement the core JavaFX distribution. It has been developed for JavaFX 8.0 and beyond, and has a guiding principle of only accepting new controls and features when all existing code is at an acceptably high level, including having high quality javadoc documentation.

The full list of features is provided at: http://fxexperience.com/controlsfx/features/

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

sudo apt-get -y install libcontrolsfx-java

Install libcontrolsfx-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcontrolsfx-java

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

sudo aptitude -y install libcontrolsfx-java

How To Uninstall libcontrolsfx-java on Ubuntu 18.04

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

sudo apt-get remove libcontrolsfx-java

Uninstall libcontrolsfx-java And Its Dependencies

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

sudo apt-get -y autoremove libcontrolsfx-java

Remove libcontrolsfx-java Configurations and Data

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

sudo apt-get -y purge libcontrolsfx-java

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

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

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

References

Summary

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