How to compile, install and run hashcat (password cracker) from Github source in Ubuntu 16.04 LTS using a bash shell script

Posted: 2017/04/05 in Security, Ubuntu
Tags: , , , , , , , , , , ,
sudo apt update
sudo apt install cmake build-essential
sudo apt install checkinstall git
sudo apt remove hashcat
sudo apt build-dep hashcat
sudo rm -rf hashcat/
git clone
cd hashcat
git submodule update --init
sudo make
sudo checkinstall
hashcat --version
# hashcat version should be v3.5.0 or newer
  1. Benjy says:

    Thank you very much indeed , I’m a bit of a noob at this, needed a quick install this worked 1st time. Other docs on Hashcat don’t make it this easy.

  2. Dennis says:

    Tried this and got installation failed aborting package creation error

  3. mark911 says:

    @Dennis: You are right. Thanks for pointing out that the original instructions did not work anymore. I added ‘sudo apt build-dep hashcat’ to the instructions. These adapted instructions work for me in Ubuntu 16.04.3. Hope it works for you, now.

  4. mark911 says:

    At least I managed to answer within the hour 🙂

  5. ARKI says:

    sudo: checkinstall : commande introuvable
    how to fix thes please

  6. ARKI says:

    sudo: checkinstall : commande introuvable

    can you tell how to fix thes

  7. mark911 says:

    @ARKI: if you follow the whole procedure step by step, checkinstall will get installed. See the fourth bash command in the bash script (sudo apt install checkinstall git).

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s