diff options
author | Randy Abernethy <ra@apache.org> | 2016-02-14 17:44:07 -0800 |
---|---|---|
committer | Randy Abernethy <ra@apache.org> | 2016-02-14 17:44:07 -0800 |
commit | 9c50e4aba9eb569c92999b8688e80ce3f5ca837e (patch) | |
tree | acabcab5651ca4ab687186e81fe20cb40355a9b8 /doc | |
parent | ea5845a2f53de0f7891b5fc293897407d59824a1 (diff) | |
download | thrift-9c50e4aba9eb569c92999b8688e80ce3f5ca837e.tar.gz |
THRIFT-3630: Debian/Ubuntu Install doc update
Client: Docs
Patch: Randy Abernethy
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install/debian.md | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/doc/install/debian.md b/doc/install/debian.md index a76934e30..5e1ae4c49 100644 --- a/doc/install/debian.md +++ b/doc/install/debian.md @@ -1,26 +1,24 @@ -## Debian or Ubuntu setup +## Debian/Ubuntu install The following command will install tools and libraries required to build and install the Apache Thrift compiler and C++ libraries on a Debian/Ubuntu Linux based system. - sudo apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libboost-system-dev libboost-filesystem-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev libboost-thread-dev make - -You will want to add the git package to the list above if you plan to clone the Apache Thrift source code repository. + sudo apt-get install automake bison flex g++ git libboost1.55-all-dev libevent-dev libssl-dev libtool make pkg-config Debian 7/Ubuntu 12 users need to manually install a more recent version of automake and (for C++ library and test support) boost: wget http://ftp.debian.org/debian/pool/main/a/automake-1.15/automake_1.15-3_all.deb sudo dpkg -i automake_1.15-3_all.deb - wget http://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.gz tar xvf boost_1_60_0.tar.gz - cd boost_1_60_0 - ./bootstrap.sh - sudo ./b2 install + wget http://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.gz tar xvf boost_1_60_0.tar.gz + cd boost_1_60_0 + ./bootstrap.sh + sudo ./b2 install ## Optional packages If you would like to build Apache Thrift libraries for other programming languages you may need to install additional packages. The following languages require the specified additional packages: * Java - * To build Apache Thrift support for Java you will need to install the ant package and Java JDK v1.7 or higher. Type **javac** to see a list of available packages, pick the one you prefer and **apt-get install** it (e.g. openjdk-7-jdk). + * To build Apache Thrift support for Java you will need to install the ant package and Java JDK v1.7 or higher. Type **javac** to see a list of available packages, pick the one you prefer and **apt-get install** it (e.g. openjdk-7-jdk). * Ruby * ruby-full ruby-dev ruby-rspec rake rubygems libdaemons-ruby libgemplugin-ruby mongrel * Python |