How To Install thrift on Rocky Linux 8

In this tutorial we learn how to install thrift on Rocky Linux 8. thrift is Software framework for cross-language services development

Introduction

In this tutorial we learn how to install thrift on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install thrift.

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

sudo dnf -y install thrift

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

sudo yum -y install thrift

How To Uninstall thrift on Rocky Linux 8

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

sudo dnf remove thrift

thrift Package Contents on Rocky Linux 8

/usr/bin/thrift
/usr/lib/.build-id
/usr/lib/.build-id/21
/usr/lib/.build-id/21/5caa4d4b5850c2b3ce735055e33949040f7e30
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/1e788da92a07d01dbd7f7ae209d2dfc46e9420
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/1b5e26efed08d3eb4c82560785e0e0e8247840
/usr/lib/.build-id/de
/usr/lib/.build-id/de/adccba26486932284e6160dd0acbbcbcacce6d
/usr/lib64/libthrift-0.13.0.so
/usr/lib64/libthriftnb-0.13.0.so
/usr/lib64/libthriftz-0.13.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 Rocky Linux 8 using yum and dnf.