blob: 87e8cf643877d406de34dfa518276408ddbe5a3d [file] [log] [blame]
Flavio Castro574d2382015-06-26 16:39:49 -07001#!/bin/bash
2#
3# Script to install ONOS dependencies on Ubuntu 14.04
4#
5
6echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
7
8echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections
9
10sudo apt-get install software-properties-common -y
11sudo add-apt-repository ppa:webupd8team/java -y
12sudo apt-get update && sudo apt-get install oracle-java8-installer oracle-java8-set-default git wget -y
13export JAVA_HOME=/usr/lib/jvm/java-8-oracle
14
15cd; mkdir Downloads Applications
16cd Downloads
Jian Li11599162016-01-15 15:46:16 -080017wget http://download.nextag.com/apache/karaf/3.0.5/apache-karaf-3.0.5.tar.gz
Jian Li98dc9ad2016-01-06 14:05:47 -080018wget http://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
Jian Li11599162016-01-15 15:46:16 -080019tar -zxvf apache-karaf-3.0.5.tar.gz -C ../Applications/
Jian Li98dc9ad2016-01-06 14:05:47 -080020tar -zxvf apache-maven-3.3.9-bin.tar.gz -C ../Applications/
Flavio Castro574d2382015-06-26 16:39:49 -070021