blob: 343ea7e81be2d0b519a175e23e954211cff4d1ca [file] [log] [blame]
henriqueac8d8e22014-07-23 23:31:04 +02001#!/bin/sh
2
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance
9# with the License. You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing,
14# software distributed under the License is distributed on an
15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16# KIND, either express or implied. See the License for the
17# specific language governing permissions and limitations
18# under the License.
19
20SCRIPTPATH=$( cd $(dirname $0) ; pwd -P )
21
22# Mainly aiming Travis CI's Ubuntu machines for now
23# see what we need: http://thrift.apache.org/docs/install/ubuntu
24
25# General dependencies
26sh ${SCRIPTPATH}/installCXXDependencies.sh
27
28# Java dependencies
29sudo apt-get install -qq ant openjdk-7-jdk
30sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
31
32# Python dependencies
33sudo apt-get install -qq python-all python-all-dev python-all-dbg python-setuptools python-support
34
35# Ruby dependencies
36sudo apt-get install -qq ruby ruby-dev
37sudo gem install bundler rake
38
39# Perl dependencies
40sudo apt-get install -qq libbit-vector-perl libclass-accessor-class-perl
41
42# Php dependencies
43sudo apt-get install -qq php5 php5-dev php5-cli php-pear re2c
44
45# GlibC dependencies
46sudo apt-get install -qq libglib2.0-dev
47
48# Erlang dependencies
49sudo apt-get install -qq erlang-base erlang-eunit erlang-dev
50
51# GO dependencies
52echo "golang-go golang-go/dashboard boolean false" | debconf-set-selections
53sudo apt-get -y install -qq golang golang-go
54
henriquec0a7d722014-07-26 13:11:12 +020055# Haskell dependencies
56sudo add-apt-repository -y ppa:hvr/ghc
57sudo apt-get update
58sudo apt-get install cabal-install-1.20 ghc-$GHCVER
henriqueac8d8e22014-07-23 23:31:04 +020059
60# Lua dependencies
61sudo apt-get install -qq lua5.2 lua5.2-dev
62
63# Node.js dependencies
64sudo apt-get install -qq nodejs nodejs-dev npm
65sudo update-alternatives --install /usr/bin/node node /usr/bin/nodejs 10
66
67# CSharp
68sudo apt-get install -qq mono-gmcs mono-devel libmono-system-web2.0-cil
69sudo apt-get install -qq mingw32 mingw32-binutils mingw32-runtime