How To Install libajaxtags-java on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libajaxtags-java on Ubuntu 18.04.
What is libajaxtags-java
libajaxtags-java is:
The AJAX Tag Library is a set of JSP tags that simplify the use of Asynchronous JavaScript and XML (AJAX) technology in JavaServer Pages.
This tag library does not force J2EE developers to write the necessary JavaScript to implement an AJAX-capable web form. The tag library provides support for live form updates for the following use cases:
- autocomplete based on character input to an input field
- select box population based on selections made from another field
- callout or balloon popups for highlighting content
- refreshing form fields
- toggling images and form field states on/off.
There are three methods to install libajaxtags-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 libajaxtags-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 libajaxtags-java using apt-get by running the following command:
sudo apt-get -y install libajaxtags-java
Install libajaxtags-java Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libajaxtags-java using apt by running the following command:
sudo apt -y install libajaxtags-java
Install libajaxtags-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 libajaxtags-java using aptitude by running the following command:
sudo aptitude -y install libajaxtags-java
How To Uninstall libajaxtags-java on Ubuntu 18.04
To uninstall only the libajaxtags-java package we can use the following command:
sudo apt-get remove libajaxtags-java
Uninstall libajaxtags-java And Its Dependencies
To uninstall libajaxtags-java and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libajaxtags-java
Remove libajaxtags-java Configurations and Data
To remove libajaxtags-java configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libajaxtags-java
Remove libajaxtags-java configuration, data, and all of its dependencies
We can use the following command to remove libajaxtags-java configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libajaxtags-java
References
Summary
In this tutorial we learn how to install libajaxtags-java package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.