How To Install QuantLib-test on Fedora 36

In this tutorial we learn how to install QuantLib-test in Fedora 36. QuantLib-test is The test-suite to check the setup of QuantLib

Introduction

In this tutorial we learn how to install QuantLib-test on Fedora 36.

What is QuantLib-test

The QuantLib-test-suite will validate the compiled code against pre-constructed test cases, and helps in validating the library.

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

Install QuantLib-test on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install QuantLib-test

Install QuantLib-test on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install QuantLib-test

How To Uninstall QuantLib-test on Fedora 36

To uninstall only the QuantLib-test package we can use the following command:

sudo dnf remove QuantLib-test

QuantLib-test Package Contents on Fedora 36

/usr/bin/quantlib-test-suite
/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/69fadf23df76a36299ff5e50be5ff2e9c31295
/usr/share/man/man1/quantlib-test-suite.1.gz

References

Summary

In this tutorial we learn how to install QuantLib-test on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).