How To Install libel-api-java on Ubuntu 18.04

In this tutorial we learn how to install libel-api-java on Ubuntu 18.04. libel-api-java is Expression Language API

Introduction

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

What is libel-api-java

libel-api-java is:

EL is a simple language designed to meet the needs of the presentation layer in Java web applications.

It features:

  • A simple syntax restricted to the evaluation of expressions
  • Variables and nested properties
  • Relational, logical, arithmetic, conditional, and empty operators
  • Functions implemented as static methods on Java classes
  • Lenient semantics where appropriate default values and type conversions are provided to minimize exposing errors to end users

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

sudo apt-get -y install libel-api-java

Install libel-api-java Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libel-api-java

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

sudo aptitude -y install libel-api-java

How To Uninstall libel-api-java on Ubuntu 18.04

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

sudo apt-get remove libel-api-java

Uninstall libel-api-java And Its Dependencies

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

sudo apt-get -y autoremove libel-api-java

Remove libel-api-java Configurations and Data

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

sudo apt-get -y purge libel-api-java

Remove libel-api-java configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libel-api-java

References

Summary

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