How To Install botan2 on Rocky Linux 8

In this tutorial we learn how to install botan2 on Rocky Linux 8. botan2 is Crypto and TLS for C++11

Introduction

In this tutorial we learn how to install botan2 on Rocky Linux 8.

What is botan2

Botan is a BSD-licensed crypto library written in C++. It provides a wide variety of basic cryptographic algorithms, X.509 certificates and CRLs, PKCS #10 certificate requests, a filter/pipe message processing system, and a wide variety of other features, all written in portable C++. The API reference, tutorial, and examples may help impart the flavor of the library. This is the current stable release branch 2.x of Botan.

We can use yum or dnf to install botan2 on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install botan2.

Install botan2 on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install botan2

Install botan2 on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install botan2

How To Uninstall botan2 on Rocky Linux 8

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

sudo dnf remove botan2

botan2 Package Contents on Rocky Linux 8

/usr/bin/botan
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/458613e2f8700c75ef9bea130aee556133050f
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/e49619ac463a2b3341a44317b18e2985c892ab
/usr/lib64/libbotan-2.so.12
/usr/lib64/libbotan-2.so.12.12.1
/usr/share/doc/botan2
/usr/share/doc/botan2/authors.txt
/usr/share/doc/botan2/license.txt
/usr/share/doc/botan2/news.txt
/usr/share/doc/botan2/pgpkey.txt
/usr/share/licenses/botan2
/usr/share/licenses/botan2/license.txt
/usr/share/man/man1/botan.1.gz

References

Summary

In this tutorial we learn how to install botan2 on Rocky Linux 8 using yum and dnf.