How To Install ColPack on CentOS 7

In this tutorial we learn how to install ColPack on CentOS 7. ColPack is Algorithms for specialized vertex coloring problems

Introduction

In this tutorial we learn how to install ColPack on CentOS 7.

What is ColPack

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, extendable and efficient. This build has openMP-support enabled.

We can use yum or dnf to install ColPack on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install ColPack.

Install ColPack on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install ColPack using yum by running the following command:

sudo yum -y install ColPack

Install ColPack on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install ColPack using dnf by running the following command:

sudo dnf -y install ColPack

How To Uninstall ColPack on CentOS 7

To uninstall only the ColPack package we can use the following command:

sudo dnf remove ColPack

References

Summary

In this tutorial we learn how to install ColPack on CentOS 7 using yum and dnf.