How To Install libddogleg-java on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libddogleg-java on Ubuntu 20.04.
What is libddogleg-java
libddogleg-java is:
DDogleg Numerics is a high performance Java library for non-linear optimization, clustering, robust model fitting, polynomial root finding, sorting, and more. The API is designed to be user to use, without excessive abstraction often found in other libraries. The user is provided with the capability to have tight control over memory and CPU usage.
There are three methods to install libddogleg-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 libddogleg-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 libddogleg-java using apt-get by running the following command:
sudo apt-get -y install libddogleg-java
Install libddogleg-java Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libddogleg-java using apt by running the following command:
sudo apt -y install libddogleg-java
Install libddogleg-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 libddogleg-java using aptitude by running the following command:
sudo aptitude -y install libddogleg-java
How To Uninstall libddogleg-java on Ubuntu 20.04
To uninstall only the libddogleg-java package we can use the following command:
sudo apt-get remove libddogleg-java
Uninstall libddogleg-java And Its Dependencies
To uninstall libddogleg-java and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libddogleg-java
Remove libddogleg-java Configurations and Data
To remove libddogleg-java configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libddogleg-java
Remove libddogleg-java configuration, data, and all of its dependencies
We can use the following command to remove libddogleg-java configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libddogleg-java
References
Summary
In this tutorial we learn how to install libddogleg-java package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.