How To Install libotr-devel on Rocky Linux 8

In this tutorial we learn how to install libotr-devel on Rocky Linux 8. libotr-devel is Development library and include files for libotr

Introduction

In this tutorial we learn how to install libotr-devel on Rocky Linux 8.

What is libotr-devel

The devel package contains the libotr library and include files.

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

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

sudo dnf -y install libotr-devel

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

sudo yum -y install libotr-devel

How To Uninstall libotr-devel on Rocky Linux 8

To uninstall only the libotr-devel package we can use the following command:

sudo dnf remove libotr-devel

libotr-devel Package Contents on Rocky Linux 8

/usr/include/libotr
/usr/include/libotr/auth.h
/usr/include/libotr/b64.h
/usr/include/libotr/context.h
/usr/include/libotr/context_priv.h
/usr/include/libotr/dh.h
/usr/include/libotr/instag.h
/usr/include/libotr/mem.h
/usr/include/libotr/message.h
/usr/include/libotr/privkey-t.h
/usr/include/libotr/privkey.h
/usr/include/libotr/proto.h
/usr/include/libotr/serial.h
/usr/include/libotr/sm.h
/usr/include/libotr/tlv.h
/usr/include/libotr/userstate.h
/usr/include/libotr/version.h
/usr/lib64/libotr.so
/usr/lib64/pkgconfig/libotr.pc
/usr/share/aclocal/libotr.m4
/usr/share/doc/libotr-devel
/usr/share/doc/libotr-devel/ChangeLog

References

Summary

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