How To Install liboptimization-java on Debian 9
Introduction
In this tutorial we learn how to install liboptimization-java
on Debian 9.
What is liboptimization-java
liboptimization-java is:
Currently (as of 8/8/05) this package contains Java translations of the 1-dimensional minimization routine, fmin, the multi-dimensional minimization routine Uncmin, the MINPACK nonlinear least squares routines (lmder1, lmder, lmdif1, and lmdif), and the SLATEC 1-dimensional zero-finding routine, dfzero. Eventually, the package will also contain Java translations of some of the MINPACK nonlinear equation solvers.
The 1-dimensional minimization routine is an unofficial Java translation of the FORTRAN version of the public domain fmin routine that can be found at www.netlib.org/go/fmin.f.
The multi-dimensional minimization routine is an unofficial Java translation of the public domain FORTRAN Uncmin package (umdpn.f). For documentation see Dennis and Schnabel, Numerical Methods for Unconstrained Optimization and Nonlinear Equations, Prentice-Hall, 1983, and Schnabel, Koontz, and Weiss, “A Modular System of Algorithms for Unconstrained Minimization,” ACM Transactions of Mathematical Software, 1985, pages 419 – 440.
Uncmin can perform unconstrained nonlinear optimizations. Here is information about constrained nonlinear optimizations.
The nonlinear least squares routines are unofficial Java translations of the FORTRAN versions of the public domain MINPACK nonlinear least squares routines that can be found at www.netlib.org/minpack.
The 1-dimensional zero-finding routine is an unofficial Java translation of the FORTRAN version of the public domain SLATEC dfzero routine that can be found at netlib. Either go to www.netlib.org and do a search for dfzero.f, or go to www.netlib.org/slatec and download the entire SLATEC library.
There are three methods to install liboptimization-java
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install liboptimization-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 liboptimization-java
using apt-get
by running the following command:
sudo apt-get -y install liboptimization-java
Install liboptimization-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install liboptimization-java
using apt
by running the following command:
sudo apt -y install liboptimization-java
Install liboptimization-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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install liboptimization-java
using aptitude
by running the following command:
sudo aptitude -y install liboptimization-java
How To Uninstall liboptimization-java on Debian 9
To uninstall only the liboptimization-java
package we can use the following command:
sudo apt-get remove liboptimization-java
Uninstall liboptimization-java And Its Dependencies
To uninstall liboptimization-java
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove liboptimization-java
Remove liboptimization-java Configurations and Data
To remove liboptimization-java
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge liboptimization-java
Remove liboptimization-java configuration, data, and all of its dependencies
We can use the following command to remove liboptimization-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge liboptimization-java
Dependencies
liboptimization-java have the following dependencies:
References
Summary
In this tutorial we learn how to install liboptimization-java
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.