How To Install libcolpack-dev on Debian 9

In this tutorial we learn how to install libcolpack-dev on Debian 9. libcolpack-dev is Specialized graph vertex coloring library, development files

Introduction

In this tutorial we learn how to install libcolpack-dev on Debian 9.

What is libcolpack-dev

libcolpack-dev is:

ColPack is a package comprising of implementation of algorithms for specialized vertex coloring problems that arise in sparse derivative computation. It is written in an object-oriented fashion heavily using the Standard Template Library (STL). It is designed to be simple, modular, extenable and efficient. Its primary application has been for use in automatic differentiation.

This package contains the development library, header files, and documentation.

There are three methods to install libcolpack-dev 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 libcolpack-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libcolpack-dev

Install libcolpack-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libcolpack-dev

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

sudo aptitude -y install libcolpack-dev

How To Uninstall libcolpack-dev on Debian 9

To uninstall only the libcolpack-dev package we can use the following command:

sudo apt-get remove libcolpack-dev

Uninstall libcolpack-dev And Its Dependencies

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

sudo apt-get -y autoremove libcolpack-dev

Remove libcolpack-dev Configurations and Data

To remove libcolpack-dev configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libcolpack-dev

Remove libcolpack-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libcolpack-dev

Dependencies

libcolpack-dev have the following dependencies:

References

Summary

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