Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Installing Apache Thrift on Ubuntu

DZone's Guide to

Installing Apache Thrift on Ubuntu

· Java Zone
Free Resource

Just released, a free O’Reilly book on Reactive Microsystems: The Evolution of Microservices at Scale. Brought to you in partnership with Lightbend.

In a previous post I wrote how to install Apache thrift on Windows. In this post I will guide you how to install Apache Thrift on Ubuntu 12.04.
  1. Install dependencies using the following command
    sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev  
  2. Download tar.gz archive from the this link, extract it in your home directory using this command
    tar -xvzf thrift-0.8.0.tar.gz  
  3. Change into the Thrift installation directory(the one extracted) and carry on the following command
    ./configure  
  4. Run the following command within Thrift installation directory
    make  
  5. After that carry on the following command
    sudo make install  
  6. To verify Thrift has installed properly, use the following command
    thrift -version   

Strategies and techniques for building scalable and resilient microservices to refactor a monolithic application step-by-step, a free O'Reilly book. Brought to you in partnership with Lightbend.

Topics:

Published at DZone with permission of Pavithra Gunasekara, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}