blob: 78dc626c3de079d5af29c96845ee710f4eebe864 [file] [log] [blame] [view]
Roger Meiere9f00cb2014-05-30 14:35:34 +02001## Debian or Ubuntu setup
2The following command install all the required tools and libraries to build and install the Apache Thrift compiler on a Debian/Ubuntu Linux based system.
3
Roger Meier9cc7e862014-08-20 14:24:54 +02004 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
Roger Meiere9f00cb2014-05-30 14:35:34 +02005
6Then install the Java JDK of your choice. Type **javac** to see a list of available packages, pick the one you prefer and **apt-get install** it.
7
8Debian Lenny Users need some packages from backports
9
10 sudo apt-get -t lenny-backports install automake libboost-test-dev
11
12## Optional packages
13
14Some other packages depend on what languages you want Thrift to support.
15
16 * Ruby
17 * ruby-full ruby-dev ruby-rspec rake rubygems libdaemons-ruby libgemplugin-ruby mongrel
18 * Python
19 * python-all python-all-dev python-all-dbg
20 * Perl
21 * libbit-vector-perl libclass-accessor-class-perl
22 * Php, install
23 * php5-dev php5-cli phpunit
24 * C_glib
25 * libglib2.0-dev
26 * Erlang
27 * erlang-base erlang-eunit erlang-dev
28 * Csharp
29 * mono-gmcs mono-devel libmono-system-web2.0-cil nunit nunit-console
30 * Haskell
31 * ghc6 cabal-install libghc6-binary-dev libghc6-network-dev libghc6-http-dev
32 * Thrift Compiler for Windows
Roger Meier87202602014-08-15 22:16:02 +020033 * mingw32 mingw32-binutils mingw32-runtime nsis
Roger Meiere9f00cb2014-05-30 14:35:34 +020034
35
36## Additional reading
37
38For more information on the requirements see: [Apache Thrift Requirements](/docs/install)
39
40For more information on building and installing Thrift see: [Building from source](/docs/BuildingFromSource)