How To Install ensmallen-devel on AlmaLinux 8

In this tutorial we learn how to install ensmallen-devel in AlmaLinux 8. ensmallen-devel is Header-only C++ library for efficient mathematical optimization

Introduction

In this tutorial we learn how to install ensmallen-devel on AlmaLinux 8.

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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ensmallen-devel.

Install ensmallen-devel on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ensmallen-devel

Install ensmallen-devel on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install ensmallen-devel

How To Uninstall ensmallen-devel on AlmaLinux 8

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 AlmaLinux 8 using yum and dnf.