How To Install erlang-ic-java on Ubuntu 18.04

In this tutorial we learn how to install erlang-ic-java on Ubuntu 18.04. erlang-ic-java is Erlang/OTP IDL compiler (Java classes)

Introduction

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

What is erlang-ic-java

erlang-ic-java is:

The IC application is an Erlang implementation of an IDL (CORBA Interface Definition Language) compiler. Depending on the choice of back-end the code will map to Erlang, C, or Java. The compiler generates client stubs and server skeletons.

This package includes classes for Java-Erlang communication.

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

sudo apt-get -y install erlang-ic-java

Install erlang-ic-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install erlang-ic-java

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

sudo aptitude -y install erlang-ic-java

How To Uninstall erlang-ic-java on Ubuntu 18.04

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

sudo apt-get remove erlang-ic-java

Uninstall erlang-ic-java And Its Dependencies

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

sudo apt-get -y autoremove erlang-ic-java

Remove erlang-ic-java Configurations and Data

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

sudo apt-get -y purge erlang-ic-java

Remove erlang-ic-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge erlang-ic-java

References

Summary

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