Here are the steps to setup corda on Ubuntu:
Install Java:
Open the terminal and run the following commands:
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt update
$ sudo apt install oracle-java8-installer
Install git:
In the terminal, run the following commands:
$ sudo apt install git
Install IntelliJ