Install Katoolin using Kali Linux Tools on Ubuntu

Katoolin is a Python script that allows the installation of Kali Linux tools at once automatically or manually one by one. In this tutorial, we are going to show you how to install Kali Linux Tools using Katoolin on Ubuntu.

Installing Kali Linux Tools using Katoolin on Ubuntu

Prerequisites

In order to install Kali Linux Tools, we first need to install the following one by one:

  • Git
  • Python 2.7
  • Katoolin

Step 1 – Install Git

Launch the Terminal and enter the following command to install Git.

sudo apt-get install git

Check the Git version. As of today, it’s version 2.17.1.

sudo git --version
Git Version
Git Version

Step 2 – Install Python

Check for available Python version.

sudo apt-cache policy python
Available Python Version
Available Python Version

Start install Python 2.7.

sudo apt-get install python

Now check for installed version:

sudo python -V
Installed Python 2.7
Installed Python 2.7

Step 3 – Install Katoolin

Before installing Katoolin, clone git repository to our current location. Here we are going to clone git to “/opt” directory.

sudo git clone https://github.com/LionSec/katoolin.git
Clone Katoolin Git
Clone Katoolin Git

Copy the Katoolin binary to your path:

sudo cp katoolin/katoolin.py /usr/bin/katoolin

Give executable permission to katoolin:

sudo chmod +x /usr/bin/katoolin

That’s it. Katoolin is now installed. Let’s start using it.

Step 4 – Check Katoolin Interface and Options

Launch katoolin.

sudo katoolin

Now you can see Katoolin main interface and four options:

Katoolin Main Interface
Katoolin Main Interface

You will see a bunch of options:

  1. Add Kali repositories & Update
  2. View Categories
  3. Install classicmenu indicator
  4. Install Kali menu
  5. Help

Let us discuss each of the options from 1 to 4 listed above in depth.

Step 5 – Add Kali Repositories & Update

This option will add the Kali Linux repositories to your Ubuntu system. Type 1 and hit Enter. Then it will show submenu. Type 1 again for “Add kali linux repositories”

ALSO READ  How to install Apache Web Server on Ubuntu 18.10
Error Adding Repositories
Error Adding Repositories

Sometimes you may get the following error:

gpg: keyserver receive failed: No data

Then click “CTRL+c” to exit Katoolin and execute the following commands.

Add keys and update system.

wget -q -O - archive.kali.org/archive-key.asc | sudo  apt-key add
sudo apt-get update

Then continue with katoolin and go for the previous step.

Enter 2 to update repositories.

Update Repo
Update Repo

Entering 3 and 4, you can remove repositories and view contents of “sources.list”file.

Now type “back” to go the main menu.

Type “gohome” and hit enter to go the Main Menu.

Previous Menu and Go Home
Previous Menu and Go Home

Step 6 – Viewing Categories

Type 2 from the main menu and it will list all categories.

Categories
Categories

You can use a specific number to install tools or if you want all enter 0 (Zero).

Here we selected “Vulnerability Analysis” after typing 2 at the prompt.

Vulnerability Analysis
Vulnerability Analysis

You can install any kind of tool typing its number and if you want to install all of them, type “Zero” 0.

Here we install “Greenbone Security Assistant” after entering 12.

Install Greenbone Security Assistant
Install Greenbone Security Assistant

During installation, it will ask to restart services. You can select “yes” to continue.

Package Configuration
Package Configuration

The installation will complete and you will get the “Vulnerability Analysis” Menu.

Installation Completed
Installation Completed

Here we successfully installed “Greenbone Security Assistant” and you can follow the same procedure to install any other tool of your choice.

Step 7 – Install the ClassicMenu indicator

Type 3 and hit Enter. Then it will ask to confirm.  Type y to confirm and install it.

This is a notification area applet for the top panel of Ubuntu desktop environment. It gives a simple way to get a classic application menu.

After install, you can see the menu as follows:

ALSO READ  How to show date and complete time in the Ubuntu Top Panel
Classic Menu
Classic Menu

Step 8 – Install Kali menu

If you want to install Kali Menu, type 4 and type ‘y’ to confirm the installation.

That’s all. Using Katoolin, we just learned how to automatically install Kali Linux tools using Katoolin. If you found this tutorial helpful, help spread the love by sharing this with your friends on the social platforms.

2
Leave a Reply

avatar
2 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
StePThesameer Malik Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Thesameer Malik
Guest
Thesameer Malik

Hello there, I have really read some of the articles of this site and it really seems like the content of this website is genuine. keep up the good work.

SteP
Guest
SteP

Hi,
after looking at some katoolin guides for ubuntu 18, i can say your version is the best so far.
But I run into an error consistently, even when booting from a completly fresh USB device.

I keep receiving the “gpg: keyserver receive failed: no data”, even after ‘wget -q -O – archive.kali.org/archive-key.asc | sudo apt-key add’ (finished with ‘OK’) and ‘sudo apt-get update’.
I mean you anticipated the error in the guide, but the fix does not fix it. Any ideas?

Cheers
SteP