# John the Ripper installieren

John the Ripper is usually pre-installed in Kali Linux but if you don’t have it yet, you can follow the steps below to install it on a Linux-based machine.

If you are facing any challenges with Kali Linux, I suggest you go through [getting started with Kali Linux](https://www.section.io/engineering-education/getting-started-with-kali-linux/) article.

There are numerous ways of installing John the Ripper on your machine but we will look at some of the basic ones:

#### 1. Installing from the source

Open the terminal by simultaneously holding **Ctrl+Alt+T** and run the command below.

```bash
mkdir src

```

This creates a directory where we’ll store all our files.

Navigate to the `src` directory and clone John the Ripper repository as shown below.

```bash
cd src
git clone https://github.com/openwall/john.git

```

![Cloning John the Ripper repository](https://www.section.io/engineering-education/password-cracking-with-john-the-ripper/clone.png)

This creates a directory named `John`. To make it active, we need to run the command below.

```bash
cd john

```

Navigate to the `src` directory where we’ll set and configure the compilation sources.

```bash
cd src
./configure

```

![Configuring files in src directory](https://www.section.io/engineering-education/password-cracking-with-john-the-ripper/configure.png)

Run the `make` command to compile source code into executable programs and libraries. This might take some time depending on your machine and the resources allocated to it.

```bash
make

```

Lastly, run the `make install` command to install John the Ripper.

```bash
make install

```

![Run make install command](https://www.section.io/engineering-education/password-cracking-with-john-the-ripper/make_install.png)

Run the commands below to see if the installation was successful.

```bash
cd ..
cd run
./john
```

<div class="page-content" id="bkmrk-version-%231-erstellt%3A"><div dir="auto"></div>---

<div class="text-muted text-small"><div class="entity-meta"><svg class="svg-icon" data-icon="history" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> </svg>Version #1   
<svg class="svg-icon" data-icon="star" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> </svg>Erstellt: 19 October 2022 11:16:51 von hermann   
<svg class="svg-icon" data-icon="edit" role="presentation" viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> </svg>Zuletzt aktualisiert: 19 October 2022 11:17:17 von hermann</div></div></div>