How To Install libdynalang-java on Ubuntu 18.04

In this tutorial we learn how to install libdynalang-java on Ubuntu 18.04. libdynalang-java is JVM Dynamic Languages Metaobject Protocol

Introduction

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

What is libdynalang-java

libdynalang-java is:

This library aims to make it possible for objects created by a runtime for one dynamic language to be passed to and manipulated by a different dynamic language, running within the same JVM. More generally, it aims to provide a facility where an arbitrary system (usually a language runtime) can intuitively manipulate any arbitrary object model built atop of Java objects (usually the native object model of some other language).

Basically, it provides a unified mechanism that all dynamic languages on the JVM can use to inter-operably manipulate their own objects as well as objects from any other language that also uses this mechanism.

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

sudo apt-get -y install libdynalang-java

Install libdynalang-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdynalang-java

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

sudo aptitude -y install libdynalang-java

How To Uninstall libdynalang-java on Ubuntu 18.04

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

sudo apt-get remove libdynalang-java

Uninstall libdynalang-java And Its Dependencies

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

sudo apt-get -y autoremove libdynalang-java

Remove libdynalang-java Configurations and Data

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

sudo apt-get -y purge libdynalang-java

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

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

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

References

Summary

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