How To Install qsopt-ex on Debian 12

Learn how to install qsopt-ex on Debian 12 with this tutorial. qsopt-ex is Exact linear programming solver

Introduction

In this tutorial we learn how to install qsopt-ex on Debian 12.

What is qsopt-ex

qsopt-ex is:

QSopt-ex is an implementation of a simplex-based algorithm that returns exact rational solutions, taking advantage of the speed of floating-point calculations and attempting to minimize the operations performed in rational arithmetic.

This package contains the command-line utilities.

There are three methods to install qsopt-ex on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install qsopt-ex Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install qsopt-ex

Install qsopt-ex Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install qsopt-ex

Install qsopt-ex 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 qsopt-ex using aptitude by running the following command:

sudo aptitude -y install qsopt-ex

How To Uninstall qsopt-ex on Debian 12

To uninstall only the qsopt-ex package we can use the following command:

sudo apt-get remove qsopt-ex

Uninstall qsopt-ex And Its Dependencies

To uninstall qsopt-ex and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove qsopt-ex

Remove qsopt-ex Configurations and Data

To remove qsopt-ex configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge qsopt-ex

Remove qsopt-ex configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge qsopt-ex

Dependencies

qsopt-ex have the following dependencies:

References

Summary

In this tutorial we learn how to install qsopt-ex package on Debian 12 using different package management tools: apt, apt-get and aptitude.