How To Install libolm on Fedora 34

libolm is Double Ratchet cryptographic library Double Ratchet cryptographic library

Introduction

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

What is libolm

An implementation of the Double Ratchet cryptographic ratchet in C++. libolm 3.2.4 1.fc34 x86_64 118 k libolm-3.2.4-1.fc34.src.rpm updates Double Ratchet cryptographic library https ASL 2.0 An implementation of the Double Ratchet cryptographic ratchet in C++.

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

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

sudo dnf -y install libolm

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

sudo yum -y install libolm

How To Uninstall libolm on Fedora 34

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

sudo dnf remove libolm

libolm Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/939cd5f380bf97ac80aef2d862cb38c8b6a9a4
/usr/lib/libolm.so.3
/usr/lib/libolm.so.3.2.2
/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
/usr/lib/.build-id
/usr/lib/.build-id/62
/usr/lib/.build-id/62/9dbb4a08d1c0904d2c22fe9debcf90e5a9571a
/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
/usr/lib/.build-id
/usr/lib/.build-id/84
/usr/lib/.build-id/84/567be375c4e28cd9e1689b2483b628635d70a0
/usr/lib64/libolm.so.3
/usr/lib64/libolm.so.3.2.2
/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
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/c6cfde828897c46c563a785cbd87424761a7fc
/usr/lib/libolm.so.3
/usr/lib/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 Fedora 34 using yum and dnf.