How To Install python-tdlib on Fedora 36

In this tutorial we learn how to install python-tdlib in Fedora 36. python-tdlib is Tree decomposition algorithms

Introduction

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

What is python-tdlib

This package provides tree decomposition algorithms. A tree decomposition of a simple, loopless, undirected graph G is a tree T with bags at its nodes containing vertices from G. The usual conditions apply. By convention, a tree is an acyclic graph with exactly one connected component. The bagsize of T is the size of the biggest bag, which is a notion for the (width of T)+1.

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

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

sudo dnf -y install python-tdlib

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

sudo yum -y install python-tdlib

How To Uninstall python-tdlib on Fedora 36

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

sudo dnf remove python-tdlib

python-tdlib Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/756a476396f2b40083f98c5752423eee95838c
/usr/libexec/treedec
/usr/libexec/treedec/tdecomp
/usr/share/doc/python-tdlib
/usr/share/doc/python-tdlib/AUTHORS
/usr/share/doc/python-tdlib/BUGS
/usr/share/doc/python-tdlib/NEWS
/usr/share/doc/python-tdlib/README
/usr/share/doc/python-tdlib/THANKS
/usr/share/doc/python-tdlib/TODO
/usr/share/licenses/python-tdlib
/usr/share/licenses/python-tdlib/COPYING
/usr/share/licenses/python-tdlib/GPL-2
/usr/share/licenses/python-tdlib/GPL-3

References

Summary

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