How To Install mlpack on Fedora 34

mlpack is Scalable, fast C++ machine learning library Scalable, fast C++ machine learning library

Introduction

In this tutorial we learn how to install mlpack on Fedora 34.

What is mlpack

mlpack is a C++ machine learning library with emphasis on scalability, speed, and ease-of-use. Its aim is to make machine learning possible for novice users by means of a simple, consistent API, while simultaneously exploiting C++ language features to provide maximum performance and maximum flexibility for expert users. mlpack outperforms competing machine learning libraries by large margins. mlpack 3.4.2 3.fc34 x86_64 886 k mlpack-3.4.2-3.fc34.src.rpm fedora Scalable, fast C++ machine learning library http BSD mlpack is a C++ machine learning library with emphasis on scalability, speed, and ease-of-use. Its aim is to make machine learning possible for novice users by means of a simple, consistent API, while simultaneously exploiting C++ language features to provide maximum performance and maximum flexibility for expert users. mlpack outperforms competing machine learning libraries by large margins.

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

Install mlpack on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install mlpack

Install mlpack on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install mlpack

How To Uninstall mlpack on Fedora 34

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

sudo dnf remove mlpack

mlpack Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/15fd4bcf2507f9b0157412ff1a42072b087f47
/usr/lib64/libmlpack.so.3
/usr/lib64/libmlpack.so.3.4
/usr/share/doc/mlpack/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/ca
/usr/lib/.build-id/ca/045aa462223cf8ce5938ff13785c8716f066f8
/usr/lib/libmlpack.so.3
/usr/lib/libmlpack.so.3.4
/usr/share/doc/mlpack/LICENSE.txt

References

Summary

In this tutorial we learn how to install mlpack on Fedora 34 using yum and dnf.