How to install & Configure Apache Thrift in Ubuntu 16.04

 

March 27, 2017

admin

The Apache Thrift software framework, for scalable 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, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smalltalk, OCaml and Delphi and other languages.

Installation Step by Step Guide:

  1. To use with Java you will also need to install Apache Ant
    >> sudo aptget install ant
  2. Installing required tools and libraries:
    >> sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libboost-filesystem-dev libboost-thread-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev
  3. Download Thrift from git>> git clone
    https://git-wip-us.apache.org/repos/asf/thrift.git thrift
    >> cd thrift
  4. For an Ubuntu linux distribution you just need to go to the thrift directory and type:
    >> ./bootstrap.sh>> ./configure
  5. On the same directory run make to build Thrift
    >> sudo make
  6. (Optional) Run the test suite if you want
    >> sudo make check
  7. And finally you are ready to install Thrift by running
    >> sudo make install
  • Verify installation:
    Now your Thrift installation is completed! To verify that you have successfully installed Thrift just type>> thrift –version

Leave a Reply

Your email address will not be published. Required fields are marked *

More like this

The Ultimate Guide For Notion AI

The Game-Changing Impact Of Extended Reality (XR) On The Future

MEAN vs MERN: Which Stack Is Best For Your Next Web Development Project?