bruteforce-luks command not found

In this troubleshooting guide we learn how to fix bruteforce-luks command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

bruteforce-luks: command not found

or when using sudo you get the following error message

sudo: bruteforce-luks: command not found

Solutions to bruteforce-luks: command not found

How To Fix bruteforce-luks: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu bruteforce-luks is provided by bruteforce-luks package.

bruteforce-luks is:

The program is used to try discovery a password for encrypted LUKS volume used to security reasons. It works trying decrypt at least one of the key slots by trying all the possible passwords. It is used in forensics and is especially useful if you know something about the password (i.e. you forgot a part of your password but still remember most of it).

Because of cryptography complexity, crack the password of a LUKS volume without knowing anything about it would take way too much time (unless the password is really short and/or weak).

To fix this problem, we can install more using the command below.

sudo apt-get -y install bruteforce-luks

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install bruteforce-luks.

sudo apt -y install bruteforce-luks

Or if you have aptitude installed you can use the following command.

sudo aptitude install bruteforce-luks

Summary

In this tutorial we learn how to fix bruteforce-luks command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.