How To Install libolm on Rocky Linux 8

In this tutorial we learn how to install libolm on Rocky Linux 8. libolm is Double Ratchet cryptographic library

Introduction

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

What is libolm

An implementation of the Double Ratchet cryptographic ratchet in C++.

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

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

sudo dnf -y install libolm

Install libolm 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 libolm using yum by running the following command:

sudo yum -y install libolm

How To Uninstall libolm on Rocky Linux 8

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

sudo dnf remove libolm

libolm Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/87
/usr/lib/.build-id/87/e041ed1479652685aba41a4efbf7303b2983e5
/usr/lib64/libolm.so.3
/usr/lib64/libolm.so.3.2.4
/usr/share/doc/libolm
/usr/share/doc/libolm/CHANGELOG.rst
/usr/share/doc/libolm/CONTRIBUTING.md
/usr/share/doc/libolm/README.md
/usr/share/doc/libolm/megolm.md
/usr/share/doc/libolm/olm.md
/usr/share/doc/libolm/signing.md
/usr/share/licenses/libolm
/usr/share/licenses/libolm/LICENSE

References

Summary

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