How To Install ensmallen-devel on CentOS 7

In this tutorial we learn how to install ensmallen-devel on CentOS 7. ensmallen-devel is Header-only C++ library for efficient mathematical optimization

Introduction

In this tutorial we learn how to install ensmallen-devel on CentOS 7.

What is ensmallen-devel

ensmallen is a header-only C++ library for efficient mathematical optimization. It provides a simple set of abstractions for writing an objective function to optimize. It also provides a large set of standard and cutting-edge optimizers that can be used for virtually any mathematical optimization task. These include full-batch gradient descent techniques, small-batch techniques, gradient-free optimizers, and constrained optimization.

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

Install ensmallen-devel on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install ensmallen-devel using yum by running the following command:

sudo yum -y install ensmallen-devel

Install ensmallen-devel 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 ensmallen-devel using dnf by running the following command:

sudo dnf -y install ensmallen-devel

How To Uninstall ensmallen-devel on CentOS 7

To uninstall only the ensmallen-devel package we can use the following command:

sudo dnf remove ensmallen-devel

References

Summary

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