How To Install tdlib on Fedora 36

In this tutorial we learn how to install tdlib in Fedora 36. tdlib is Cross-platform library for building Telegram clients

Introduction

In this tutorial we learn how to install tdlib on Fedora 36.

What is tdlib

TDLib (Telegram Database library) is a cross-platform library for building Telegram clients. It can be easily used from almost any programming language.

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

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

sudo dnf -y install tdlib

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

sudo yum -y install tdlib

How To Uninstall tdlib on Fedora 36

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

sudo dnf remove tdlib

tdlib Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/78
/usr/lib/.build-id/78/c26445eb46cb9628e17f361b7b03aa259bec52
/usr/lib/.build-id/98
/usr/lib/.build-id/98/1d72a27bbc69b4b2bc1469e0ff061859572855
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/a1d4954e028348f7d83e6e8c6bb875555ce84a
/usr/lib64/libtdapi.so.1.8.0
/usr/lib64/libtdclient.so.1.8.0
/usr/lib64/libtdjson.so.1.8.0
/usr/share/doc/tdlib
/usr/share/doc/tdlib/CHANGELOG.md
/usr/share/doc/tdlib/README.md
/usr/share/licenses/tdlib
/usr/share/licenses/tdlib/LICENSE_1_0.txt

References

Summary

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