#!/bin/bash
#
# Copyright 2015 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Setup scripts for Ubuntu 14.04

echo y | add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install -y zip g++ zlib1g-dev wget git unzip python python3 curl

# Should accept the licence:
apt-get install -y oracle-java8-installer

# Android SDK requires 32-bits libraries
sudo dpkg --add-architecture i386
sudo apt-get -qqy update
sudo apt-get -qqy install libncurses5:i386 libstdc++6:i386 zlib1g:i386

#!/bin/bash
#
# Copyright 2015 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Setup scripts for Ubuntu 14.04

echo y | add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install -y zip g++ zlib1g-dev wget git unzip python python3 curl realpath

# Should accept the licence:
apt-get install -y oracle-java8-installer

# Android SDK requires 32-bits libraries
sudo dpkg --add-architecture i386
sudo apt-get -qqy update
sudo apt-get -qqy install libncurses5:i386 libstdc++6:i386 zlib1g:i386

Add realpath to the list of installed package on Ubuntu 14.04
Add realpath to the list of installed package on Ubuntu 14.04

This was needed by one of our tests and is not installed by
default on Ubuntu 14.04.

Change-Id: I0050f6f004f23b2b7c1f2b9cebc43fe398e7445c
