Git and git-review
Git and git-review will be used to pull and push code from/to the ONOS repository, so they need to be installed. To streamline the code review process, it is highly recommended that contributors install git-review
sudo apt-get install git sudo apt-get install git-review
git-review + Mac
For more info about git-review refer to this link
If you're using a Mac, you may need to manually upgrade the git-review
package dependency. (git-review bug#1337701)
$ sudo pip install --upgrade setuptools
$ sudo pip install --upgrade git-review
Install Oracle JDK 1.8
ONOS is a Java based platform. In order to be able to compile the code, you need to install Oracle Java 1.8. The OpenJDK equivalent might work, but it's not suggested, since it has never been tested.
sudo apt-get install software-properties-common -y && \ sudo add-apt-repository ppa:webupd8team/java -y && \ sudo apt-get update && \ echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections && \ sudo apt-get install oracle-java8-installer oracle-java8-set-default -y