How To Install thrift on Fedora 34

thrift is Software framework for cross-language services development Software framework for cross-language services development

Introduction

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

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. thrift 0.14.0 2.fc34 x86_64 1.6 M thrift-0.14.0-2.fc34.src.rpm fedora Software framework for cross-language services development https ASL 2.0 and BSD and zlib 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install thrift.

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

sudo dnf -y install thrift

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

sudo yum -y install thrift

How To Uninstall thrift on Fedora 34

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

sudo dnf remove thrift

thrift Package Contents on Fedora 34

/usr/bin/thrift
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/36fd20ce9f98f9c90f288c033c33360d59f412
/usr/lib/.build-id/53
/usr/lib/.build-id/53/53c72dc4223d2057bdc06808aa5f7b7afc1e5a
/usr/lib/.build-id/57
/usr/lib/.build-id/57/5789449a87be137a25aad6ca88e74dfce7718e
/usr/lib/.build-id/62
/usr/lib/.build-id/62/999f570f69813ab2c0baa2f8a52bb1a7b68796
/usr/lib/libthrift-0.14.0.so
/usr/lib/libthriftnb-0.14.0.so
/usr/lib/libthriftz-0.14.0.so
/usr/share/doc/thrift
/usr/share/doc/thrift/LICENSE
/usr/share/doc/thrift/NOTICE
/usr/bin/thrift
/usr/lib/.build-id
/usr/lib/.build-id/91
/usr/lib/.build-id/91/e7da4e2c804e92ae13869116b213720e64e324
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/3d90ad99a020567df7a0a001c7a747a2c705a0
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/c081809e9278bc7da10f08aa0455166a2b5eb2
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/a2dd7a75a84777d823a72fb685dad08a94973f
/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 34 using yum and dnf.