Install Thrift on Ubuntu

A quick note for installing Thrift on Ubuntu

0. Install basic lib

sudo apt-get install build-essential libboost-dev automake libtool flex bison pkg-config

1. Get Thrift:

wget http://www.apache.org/dyn/closer.cgi?path=/incubator/thrift/0.2.0-incubating/thrift-0.2.0-incubating.tar.gz

2. Install Thrift

tar zxvf thrift-0.2.0-incubating.tar.gz
cd thrift-0.2.0-incubating
./bootstrap.sh
./configure --with-boost=/usr/local
make
sudo make install

3. Done :-)

Comments

2 comments in this post. Add your comments below

  1. Thank’s very much for your help!!
    So….where I can find some tutorial?

    Thanks alot!

  2. You can take a look in the test/ folder for more examples.
    Cheers,

Add comment

  • required
  • required