Installing Prerequisites
Step 1: Install Java
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:
Step 1: Install Git
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
No Comments