How To Install coinor-libcgl-doc on Debian 9

In this tutorial we learn how to install coinor-libcgl-doc on Debian 9. coinor-libcgl-doc is COIN-OR Cut Generation Library (documentation)

Introduction

In this tutorial we learn how to install coinor-libcgl-doc on Debian 9.

What is coinor-libcgl-doc

coinor-libcgl-doc is:

The Cut Generation Library (Cgl) is an open collection of cutting plane implementations (“cut generators”) for use in teaching, research, and applications.

Cgl is part of the larger COIN-OR initiative (Computational Infrastructure for Operations Research) and can be used with other COIN-OR packages that make use of cuts, such as the mixed-integer linear programming solver Cbc.

This package contains the documentation and examples.

There are three methods to install coinor-libcgl-doc 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 coinor-libcgl-doc Using apt-get

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

sudo apt-get update

After updating apt database, We can install coinor-libcgl-doc using apt-get by running the following command:

sudo apt-get -y install coinor-libcgl-doc

Install coinor-libcgl-doc Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install coinor-libcgl-doc using apt by running the following command:

sudo apt -y install coinor-libcgl-doc

Install coinor-libcgl-doc 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 coinor-libcgl-doc using aptitude by running the following command:

sudo aptitude -y install coinor-libcgl-doc

How To Uninstall coinor-libcgl-doc on Debian 9

To uninstall only the coinor-libcgl-doc package we can use the following command:

sudo apt-get remove coinor-libcgl-doc

Uninstall coinor-libcgl-doc And Its Dependencies

To uninstall coinor-libcgl-doc and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove coinor-libcgl-doc

Remove coinor-libcgl-doc Configurations and Data

To remove coinor-libcgl-doc configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge coinor-libcgl-doc

Remove coinor-libcgl-doc configuration, data, and all of its dependencies

We can use the following command to remove coinor-libcgl-doc configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge coinor-libcgl-doc

Dependencies

coinor-libcgl-doc have the following dependencies:

References

Summary

In this tutorial we learn how to install coinor-libcgl-doc package on Debian 9 using different package management tools: apt, apt-get and aptitude.