Currently, we only officially support Ubuntu 16.04, with limited support for 14.04. The following instructions should work onĀ other versionsĀ of Ubuntu as well.
To start we need to add some third-party PPAs in order to get the correct versions of Java and Gradle needed to run our software.
Code Block language bash sudo apt-add-repository ppa:cwchien/gradle sudo apt-get update
Install Java, make sure to install the OpenJDK. The Oracle JDK license does not allow controlling embedded systems. For Ubuntu 14.10 and newer:
Code Block language bash sudo apt-get install openjdk-8-jdk openjfx
For versions of Ubuntu older than 14.10, such as 14.04, OpenJDK 8 is not available in an official backport. Instead, execute
Code Block language bash sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk sudo update-alternatives --config java sudo update-alternatives --config javac
You can verify that your system is using the correct JDK by running
Code Block java -version
The output should look something like
Code Block java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
Install Gradle
Code Block language bash sudo apt-get install gradle
Make sure you have a version >= 2.10 by running
Code Block language bash gradle -v
Install Git
Code Block language bash sudo apt-get install git