How To Install libreoffice-nlpsolver on Ubuntu 20.04

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

Introduction

In this tutorial we learn how to install libreoffice-nlpsolver on Ubuntu 20.04.

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.

Package: libreoffice-nlpsolver Architecture: all Version: 0.9+LibO6.4.2-0ubuntu3 Priority: extra Section: math Source: libreoffice (1:6.4.2-0ubuntu3) Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian LibreOffice Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2536 Depends: libreoffice-calc, libreoffice-core, libreoffice-java-common, default-jre (>= 2:1.8) | java8-runtime | jre Filename: pool/main/libr/libreoffice/libreoffice-nlpsolver_0.9+LibO6.4.2-0ubuntu3_all.deb Size: 676404 MD5sum: bde8875b55c522028eb3749058dce964 SHA1: 9f61676734b2c5f15a87e4b74de9d48a7d38c0f0 SHA256: f0a71adb78f7def54a6b7f164c3047f875c7eea3b034779ba7929c17b6b22410 Homepage: http://www.libreoffice.org Description-en: “Solver for Nonlinear Programming” extension for LibreOffice 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 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 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 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 libreoffice-nlpsolver using aptitude by running the following command:

sudo aptitude -y install libreoffice-nlpsolver

How To Uninstall libreoffice-nlpsolver on Ubuntu 20.04

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 Ubuntu 20.04, 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 Ubuntu 20.04 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

References

Summary

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