How To Install coinor-libcgl1 on Debian 10
Introduction
In this tutorial we learn how to install coinor-libcgl1
on Debian 10.
What is coinor-libcgl1
coinor-libcgl1 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 binaries and libraries.
There are three methods to install coinor-libcgl1
on Debian 10. 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-libcgl1 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-libcgl1
using apt-get
by running the following command:
sudo apt-get -y install coinor-libcgl1
Install coinor-libcgl1 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install coinor-libcgl1
using apt
by running the following command:
sudo apt -y install coinor-libcgl1
Install coinor-libcgl1 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-libcgl1
using aptitude
by running the following command:
sudo aptitude -y install coinor-libcgl1
How To Uninstall coinor-libcgl1 on Debian 10
To uninstall only the coinor-libcgl1
package we can use the following command:
sudo apt-get remove coinor-libcgl1
Uninstall coinor-libcgl1 And Its Dependencies
To uninstall coinor-libcgl1
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove coinor-libcgl1
Remove coinor-libcgl1 Configurations and Data
To remove coinor-libcgl1
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge coinor-libcgl1
Remove coinor-libcgl1 configuration, data, and all of its dependencies
We can use the following command to remove coinor-libcgl1
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge coinor-libcgl1
Dependencies
coinor-libcgl1 have the following dependencies:
References
Summary
In this tutorial we learn how to install coinor-libcgl1
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.