How To Install libnetx-java on Ubuntu 18.04

In this tutorial we learn how to install libnetx-java on Ubuntu 18.04. libnetx-java is An open-source JNLP client

Introduction

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

What is libnetx-java

libnetx-java is:

Netx is a high-quality implementation of the Java Network Launching Protocol (JNLP). It downloads code over the network for applications and applets, caches it, and runs it in a secure environment.

General Features of netx and JNLP:

  • Quality: Highest quality open-source JNLP client.
  • Modular: Easily add JNLP capabilities to any applications.
  • Security: Run code in a sandbox or log its activities.
  • Small Size: Loads from a ~130K JAR file.
  • Auto-Update: No special code needed to auto-update apps.
  • Fast startup: Runs code from a cache for fast starting.
  • Saves Memory: Supports running apps in a shared JVM.
  • No Browser: Runs apps and applets without a browser.
  • Web Based: No installers needed to deploy an application

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

sudo apt-get -y install libnetx-java

Install libnetx-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libnetx-java

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

sudo aptitude -y install libnetx-java

How To Uninstall libnetx-java on Ubuntu 18.04

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

sudo apt-get remove libnetx-java

Uninstall libnetx-java And Its Dependencies

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

sudo apt-get -y autoremove libnetx-java

Remove libnetx-java Configurations and Data

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

sudo apt-get -y purge libnetx-java

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

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

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

References

Summary

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