Skip to main content

Installing Prerequisites

Step 1: Install Java

image.png

Install java on the virtual machine using the following commands in the terminal.

  • Search for OpenJDK.
$ sudo apt-cache search openjdk
  • install OpenJDK 17 using the APT package manager
$ sudo apt install openjdk-17-jdk -y
  • Once the installation is complete, verify the version of Java installed by running the command:
$ java -version

After running above command you should see something like this:

image.png

Step 1: Install Git

image.png

To install Git on your machine, run the following command.

$ sudo apt-get install git

After installing check if it is installed by running the following command.

$ git --version