How To Install thrift on Fedora 36

In this tutorial we learn how to install thrift in Fedora 36. thrift is Software framework for cross-language services development

Introduction

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

What is thrift

The Apache Thrift software framework for cross-language services development combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, and other languages.

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

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

sudo dnf -y install thrift

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

sudo yum -y install thrift

How To Uninstall thrift on Fedora 36

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

sudo dnf remove thrift

thrift Package Contents on Fedora 36

/usr/bin/thrift
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/0fbcd941e1dde5d88ab95a8f43c5dffebc8043
/usr/lib/.build-id/50
/usr/lib/.build-id/50/99df6b747d3e8cf81940e5220a35e79cb6a964
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/19d93f482942ecdf9411f5b913ec380c91567e
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/90d50709877d0507e53a3cd4fc996f2096477c
/usr/lib64/libthrift-0.14.0.so
/usr/lib64/libthriftnb-0.14.0.so
/usr/lib64/libthriftz-0.14.0.so
/usr/share/doc/thrift
/usr/share/doc/thrift/LICENSE
/usr/share/doc/thrift/NOTICE

References

Summary

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