How To Install thrift-devel on CentOS 8

thrift-devel is Development files for thrift

Introduction

In this tutorial we learn how to install thrift-devel on CentOS 8.

What is thrift-devel

The thrift-devel package contains libraries and header files for developing applications that use thrift.

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

Install thrift-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install thrift-devel using dnf by running the following command:

sudo dnf -y install thrift-devel

Install thrift-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install thrift-devel using yum by running the following command:

sudo yum -y install thrift-devel

How To Uninstall thrift-devel on CentOS 8

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

sudo dnf remove thrift-devel

thrift-devel Package Contents on CentOS 8

/usr/include/thrift
/usr/include/thrift/TApplicationException.h
/usr/include/thrift/TBase.h
/usr/include/thrift/TDispatchProcessor.h
/usr/include/thrift/TLogging.h
/usr/include/thrift/TOutput.h
/usr/include/thrift/TProcessor.h
/usr/include/thrift/TToString.h
/usr/include/thrift/Thrift.h
/usr/include/thrift/async
/usr/include/thrift/async/TAsyncBufferProcessor.h
/usr/include/thrift/async/TAsyncChannel.h
/usr/include/thrift/async/TAsyncDispatchProcessor.h
/usr/include/thrift/async/TAsyncProcessor.h
/usr/include/thrift/async/TAsyncProtocolProcessor.h
/usr/include/thrift/async/TConcurrentClientSyncInfo.h
/usr/include/thrift/async/TEvhttpClientChannel.h
/usr/include/thrift/async/TEvhttpServer.h
/usr/include/thrift/c_glib
/usr/include/thrift/c_glib/config.h
/usr/include/thrift/c_glib/processor
/usr/include/thrift/c_glib/processor/thrift_dispatch_processor.h
/usr/include/thrift/c_glib/processor/thrift_multiplexed_processor.h
/usr/include/thrift/c_glib/processor/thrift_processor.h
/usr/include/thrift/c_glib/protocol
/usr/include/thrift/c_glib/protocol/thrift_binary_protocol.h
/usr/include/thrift/c_glib/protocol/thrift_binary_protocol_factory.h
/usr/include/thrift/c_glib/protocol/thrift_compact_protocol.h
/usr/include/thrift/c_glib/protocol/thrift_compact_protocol_factory.h
/usr/include/thrift/c_glib/protocol/thrift_multiplexed_protocol.h
/usr/include/thrift/c_glib/protocol/thrift_protocol.h
/usr/include/thrift/c_glib/protocol/thrift_protocol_decorator.h
/usr/include/thrift/c_glib/protocol/thrift_protocol_factory.h
/usr/include/thrift/c_glib/protocol/thrift_stored_message_protocol.h
/usr/include/thrift/c_glib/server
/usr/include/thrift/c_glib/server/thrift_server.h
/usr/include/thrift/c_glib/server/thrift_simple_server.h
/usr/include/thrift/c_glib/thrift.h
/usr/include/thrift/c_glib/thrift_application_exception.h
/usr/include/thrift/c_glib/thrift_struct.h
/usr/include/thrift/c_glib/transport
/usr/include/thrift/c_glib/transport/thrift_buffered_transport.h
/usr/include/thrift/c_glib/transport/thrift_buffered_transport_factory.h
/usr/include/thrift/c_glib/transport/thrift_fd_transport.h
/usr/include/thrift/c_glib/transport/thrift_framed_transport.h
/usr/include/thrift/c_glib/transport/thrift_framed_transport_factory.h
/usr/include/thrift/c_glib/transport/thrift_memory_buffer.h
/usr/include/thrift/c_glib/transport/thrift_platform_socket.h
/usr/include/thrift/c_glib/transport/thrift_server_socket.h
/usr/include/thrift/c_glib/transport/thrift_server_transport.h
/usr/include/thrift/c_glib/transport/thrift_socket.h
/usr/include/thrift/c_glib/transport/thrift_ssl_socket.h
/usr/include/thrift/c_glib/transport/thrift_transport.h
/usr/include/thrift/c_glib/transport/thrift_transport_factory.h
/usr/include/thrift/concurrency
/usr/include/thrift/concurrency/Exception.h
/usr/include/thrift/concurrency/FunctionRunner.h
/usr/include/thrift/concurrency/Monitor.h
/usr/include/thrift/concurrency/Mutex.h
/usr/include/thrift/concurrency/Thread.h
/usr/include/thrift/concurrency/ThreadFactory.h
/usr/include/thrift/concurrency/ThreadManager.h
/usr/include/thrift/concurrency/TimerManager.h
/usr/include/thrift/config.h
/usr/include/thrift/processor
/usr/include/thrift/processor/PeekProcessor.h
/usr/include/thrift/processor/StatsProcessor.h
/usr/include/thrift/processor/TMultiplexedProcessor.h
/usr/include/thrift/protocol
/usr/include/thrift/protocol/TBase64Utils.h
/usr/include/thrift/protocol/TBinaryProtocol.h
/usr/include/thrift/protocol/TBinaryProtocol.tcc
/usr/include/thrift/protocol/TCompactProtocol.h
/usr/include/thrift/protocol/TCompactProtocol.tcc
/usr/include/thrift/protocol/TDebugProtocol.h
/usr/include/thrift/protocol/THeaderProtocol.h
/usr/include/thrift/protocol/TJSONProtocol.h
/usr/include/thrift/protocol/TMultiplexedProtocol.h
/usr/include/thrift/protocol/TProtocol.h
/usr/include/thrift/protocol/TProtocolDecorator.h
/usr/include/thrift/protocol/TProtocolException.h
/usr/include/thrift/protocol/TProtocolTap.h
/usr/include/thrift/protocol/TProtocolTypes.h
/usr/include/thrift/protocol/TVirtualProtocol.h
/usr/include/thrift/qt
/usr/include/thrift/qt/TQIODeviceTransport.h
/usr/include/thrift/qt/TQTcpServer.h
/usr/include/thrift/server
/usr/include/thrift/server/TConnectedClient.h
/usr/include/thrift/server/TNonblockingServer.h
/usr/include/thrift/server/TServer.h
/usr/include/thrift/server/TServerFramework.h
/usr/include/thrift/server/TSimpleServer.h
/usr/include/thrift/server/TThreadPoolServer.h
/usr/include/thrift/server/TThreadedServer.h
/usr/include/thrift/thrift-config.h
/usr/include/thrift/thrift_export.h
/usr/include/thrift/transport
/usr/include/thrift/transport/PlatformSocket.h
/usr/include/thrift/transport/TBufferTransports.h
/usr/include/thrift/transport/TFDTransport.h
/usr/include/thrift/transport/TFileTransport.h
/usr/include/thrift/transport/THeaderTransport.h
/usr/include/thrift/transport/THttpClient.h
/usr/include/thrift/transport/THttpServer.h
/usr/include/thrift/transport/THttpTransport.h
/usr/include/thrift/transport/TNonblockingSSLServerSocket.h
/usr/include/thrift/transport/TNonblockingServerSocket.h
/usr/include/thrift/transport/TNonblockingServerTransport.h
/usr/include/thrift/transport/TPipe.h
/usr/include/thrift/transport/TPipeServer.h
/usr/include/thrift/transport/TSSLServerSocket.h
/usr/include/thrift/transport/TSSLSocket.h
/usr/include/thrift/transport/TServerSocket.h
/usr/include/thrift/transport/TServerTransport.h
/usr/include/thrift/transport/TShortReadTransport.h
/usr/include/thrift/transport/TSimpleFileTransport.h
/usr/include/thrift/transport/TSocket.h
/usr/include/thrift/transport/TSocketPool.h
/usr/include/thrift/transport/TTransport.h
/usr/include/thrift/transport/TTransportException.h
/usr/include/thrift/transport/TTransportUtils.h
/usr/include/thrift/transport/TVirtualTransport.h
/usr/include/thrift/transport/TZlibTransport.h
/usr/lib/.build-id
/usr/lib/.build-id/21/5caa4d4b5850c2b3ce735055e33949040f7e30
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/84c010b23cea580585a042b48be4b69ec857cb
/usr/lib/.build-id/d9/1b5e26efed08d3eb4c82560785e0e0e8247840
/usr/lib/.build-id/de/adccba26486932284e6160dd0acbbcbcacce6d
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/ae77889712030ef6161a805a6e22dd1dfcee42
/usr/lib64/libthrift.so
/usr/lib64/libthrift_c_glib.so
/usr/lib64/libthrift_c_glib.so.0
/usr/lib64/libthrift_c_glib.so.0.0.0
/usr/lib64/libthriftnb.so
/usr/lib64/libthriftqt5.so
/usr/lib64/libthriftz.so
/usr/lib64/pkgconfig/thrift-nb.pc
/usr/lib64/pkgconfig/thrift-qt5.pc
/usr/lib64/pkgconfig/thrift-z.pc
/usr/lib64/pkgconfig/thrift.pc
/usr/lib64/pkgconfig/thrift_c_glib.pc
/usr/share/doc/thrift-devel
/usr/share/doc/thrift-devel/LICENSE
/usr/share/doc/thrift-devel/NOTICE

References

Summary

In this tutorial we learn how to install thrift-devel on CentOS 8 using yum and dnf.