How To Install perl-thrift on Rocky Linux 8

In this tutorial we learn how to install perl-thrift on Rocky Linux 8. perl-thrift is Perl support for thrift

Introduction

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

What is perl-thrift

The perl-thrift package contains Perl bindings for thrift.

We can use yum or dnf to install perl-thrift on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-thrift.

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

sudo dnf -y install perl-thrift

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

sudo yum -y install perl-thrift

How To Uninstall perl-thrift on Rocky Linux 8

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

sudo dnf remove perl-thrift

perl-thrift Package Contents on Rocky Linux 8

/usr/share/doc/perl-thrift
/usr/share/doc/perl-thrift/LICENSE
/usr/share/doc/perl-thrift/NOTICE
/usr/share/perl5/vendor_perl/Thrift
/usr/share/perl5/vendor_perl/Thrift.pm
/usr/share/perl5/vendor_perl/Thrift/BinaryProtocol.pm
/usr/share/perl5/vendor_perl/Thrift/BufferedTransport.pm
/usr/share/perl5/vendor_perl/Thrift/Exception.pm
/usr/share/perl5/vendor_perl/Thrift/FramedTransport.pm
/usr/share/perl5/vendor_perl/Thrift/HttpClient.pm
/usr/share/perl5/vendor_perl/Thrift/MemoryBuffer.pm
/usr/share/perl5/vendor_perl/Thrift/MessageType.pm
/usr/share/perl5/vendor_perl/Thrift/MultiplexedProcessor.pm
/usr/share/perl5/vendor_perl/Thrift/MultiplexedProtocol.pm
/usr/share/perl5/vendor_perl/Thrift/Protocol.pm
/usr/share/perl5/vendor_perl/Thrift/ProtocolDecorator.pm
/usr/share/perl5/vendor_perl/Thrift/SSLServerSocket.pm
/usr/share/perl5/vendor_perl/Thrift/SSLSocket.pm
/usr/share/perl5/vendor_perl/Thrift/Server.pm
/usr/share/perl5/vendor_perl/Thrift/ServerSocket.pm
/usr/share/perl5/vendor_perl/Thrift/Socket.pm
/usr/share/perl5/vendor_perl/Thrift/Transport.pm
/usr/share/perl5/vendor_perl/Thrift/Type.pm
/usr/share/perl5/vendor_perl/Thrift/UnixServerSocket.pm
/usr/share/perl5/vendor_perl/Thrift/UnixSocket.pm

References

Summary

In this tutorial we learn how to install perl-thrift on Rocky Linux 8 using yum and dnf.