How To Install libreoffice-nlpsolver on Kali Linux

In this tutorial we learn how to install libreoffice-nlpsolver on Kali Linux. libreoffice-nlpsolver is Solver for Nonlinear Programming extension for LibreOffice

Introduction

In this tutorial we learn how to install libreoffice-nlpsolver on Kali Linux.

What is libreoffice-nlpsolver

libreoffice-nlpsolver is:

By default LibreOffice Calc ships with a solver engine for linear programming only. This allows the optimization of models to a certain degree. However, if the formulas or constraints become more complex, nonlinear programming is required. That missing gap is now filled by the Solver for Nonlinear Programming extension.

Currently it incorporates two Evolutionary Algorithms which are able to handle floating point and integer variables as well as nonlinear constraints.

There are three methods to install libreoffice-nlpsolver on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libreoffice-nlpsolver Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libreoffice-nlpsolver using apt-get by running the following command:

sudo apt-get -y install libreoffice-nlpsolver

Install libreoffice-nlpsolver Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libreoffice-nlpsolver using apt by running the following command:

sudo apt -y install libreoffice-nlpsolver

Install libreoffice-nlpsolver Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libreoffice-nlpsolver using aptitude by running the following command:

sudo aptitude -y install libreoffice-nlpsolver

How To Uninstall libreoffice-nlpsolver on Kali Linux

To uninstall only the libreoffice-nlpsolver package we can use the following command:

sudo apt-get remove libreoffice-nlpsolver

Uninstall libreoffice-nlpsolver And Its Dependencies

To uninstall libreoffice-nlpsolver and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libreoffice-nlpsolver

Remove libreoffice-nlpsolver Configurations and Data

To remove libreoffice-nlpsolver configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libreoffice-nlpsolver

Remove libreoffice-nlpsolver configuration, data, and all of its dependencies

We can use the following command to remove libreoffice-nlpsolver configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libreoffice-nlpsolver

Dependencies

libreoffice-nlpsolver have the following dependencies:

References

Summary

In this tutorial we learn how to install libreoffice-nlpsolver package on Kali Linux using different package management tools: apt, apt-get and aptitude.