blob: a4344c7143c3aec412e7a0a785f3d2461db3f3f1 [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 Meier03f3f552015-08-03 22:03:36 +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 ant
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
Roger Meier81a1f992014-10-22 14:09:43 +02008Debian stable users need to manually install a more recent automake version:
9
10 wget http://ftp.debian.org/debian/pool/main/a/automake-1.14/automake_1.14.1-3_all.deb
11 sudo dpkg -i automake_1.14.1-3_all.deb
Roger Meiere9f00cb2014-05-30 14:35:34 +020012
13## Optional packages
14
15Some other packages depend on what languages you want Thrift to support.
16
17 * Ruby
18 * ruby-full ruby-dev ruby-rspec rake rubygems libdaemons-ruby libgemplugin-ruby mongrel
19 * Python
20 * python-all python-all-dev python-all-dbg
21 * Perl
22 * libbit-vector-perl libclass-accessor-class-perl
23 * Php, install
24 * php5-dev php5-cli phpunit
25 * C_glib
26 * libglib2.0-dev
27 * Erlang
28 * erlang-base erlang-eunit erlang-dev
29 * Csharp
30 * mono-gmcs mono-devel libmono-system-web2.0-cil nunit nunit-console
31 * Haskell
32 * ghc6 cabal-install libghc6-binary-dev libghc6-network-dev libghc6-http-dev
33 * Thrift Compiler for Windows
Roger Meier87202602014-08-15 22:16:02 +020034 * mingw32 mingw32-binutils mingw32-runtime nsis
Roger Meiere9f00cb2014-05-30 14:35:34 +020035
36
37## Additional reading
38
39For more information on the requirements see: [Apache Thrift Requirements](/docs/install)
40
41For more information on building and installing Thrift see: [Building from source](/docs/BuildingFromSource)