How To Install libjodd-java on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libjodd-java on Ubuntu 20.04.
What is libjodd-java
libjodd-java is:
Jodd is an open-source Java utility library and set of frameworks. Jodd tools enriches JDK with many powerful and feature rich utilities. It helps with everyday task, makes code more robust and reliable. Jodd frameworks is set of lightweight application frameworks, compact yet powerful. Designed following the CoC, DRY and SCS principles, it makes development simple, but not simpler.
There are three methods to install libjodd-java on Ubuntu 20.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 libjodd-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 libjodd-java using apt-get by running the following command:
sudo apt-get -y install libjodd-java
Install libjodd-java Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libjodd-java using apt by running the following command:
sudo apt -y install libjodd-java
Install libjodd-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 libjodd-java using aptitude by running the following command:
sudo aptitude -y install libjodd-java
How To Uninstall libjodd-java on Ubuntu 20.04
To uninstall only the libjodd-java package we can use the following command:
sudo apt-get remove libjodd-java
Uninstall libjodd-java And Its Dependencies
To uninstall libjodd-java and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libjodd-java
Remove libjodd-java Configurations and Data
To remove libjodd-java configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libjodd-java
Remove libjodd-java configuration, data, and all of its dependencies
We can use the following command to remove libjodd-java configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libjodd-java
References
Summary
In this tutorial we learn how to install libjodd-java package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.