# Installing Prerequisites

### Step 1: Install Java

[![image.png](http://wiki.lalco.la/uploads/images/gallery/2024-09/scaled-1680-/GSfimage.png)](http://wiki.lalco.la/uploads/images/gallery/2024-09/GSfimage.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](http://wiki.lalco.la/uploads/images/gallery/2024-09/scaled-1680-/svFimage.png)](http://wiki.lalco.la/uploads/images/gallery/2024-09/svFimage.png)

### Step 1: Install Git

[![image.png](http://wiki.lalco.la/uploads/images/gallery/2024-09/scaled-1680-/kG2image.png)](http://wiki.lalco.la/uploads/images/gallery/2024-09/kG2image.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
```