1. Add Kali Linux Repositories to Ubuntu:

echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" | sudo tee /etc/apt/sources.list.d/kali.list

2.Add Kali GPG Key:

wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add -

3.Update APT package list: sudo apt update

4.Install Specific Kali Tools: sudo apt install amass

If you only want to install a few tools and avoid potential future conflicts, you can remove the Kali repositories after installing the tools:

Remove Kali Repositories After Installation (Optional):

sudo rm /etc/apt/sources.list.d/kali.list

Update APT: sudo apt update

I will also provide some additional options:

1)Using snap to Install Tools

Some tools can be installed via snap, which is a universal package manager:

Install using snap: `sudo snap install amass --classic`

2)Use Katoolin:

Katoolin is a script that simplifies the process of installing Kali Linux tools on Ubuntu: Install Katoolin: sudo apt install python3 python3-pip

sudo pip3 install katoolin

Run Katoolin: sudo katoolin

Follow the on-screen instructions to install categories of tools.

Answer from Zodiac on askubuntu.com
Top answer
1 of 2
1
  1. Add Kali Linux Repositories to Ubuntu:

echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" | sudo tee /etc/apt/sources.list.d/kali.list

2.Add Kali GPG Key:

wget -q -O - https://archive.kali.org/archive-key.asc | sudo apt-key add -

3.Update APT package list: sudo apt update

4.Install Specific Kali Tools: sudo apt install amass

If you only want to install a few tools and avoid potential future conflicts, you can remove the Kali repositories after installing the tools:

Remove Kali Repositories After Installation (Optional):

sudo rm /etc/apt/sources.list.d/kali.list

Update APT: sudo apt update

I will also provide some additional options:

1)Using snap to Install Tools

Some tools can be installed via snap, which is a universal package manager:

Install using snap: `sudo snap install amass --classic`

2)Use Katoolin:

Katoolin is a script that simplifies the process of installing Kali Linux tools on Ubuntu: Install Katoolin: sudo apt install python3 python3-pip

sudo pip3 install katoolin

Run Katoolin: sudo katoolin

Follow the on-screen instructions to install categories of tools.

2 of 2
1

Amass in-depth DNS enumeration and network mapping tool can be installed without enabling any potentially unsafe additional repositories by installing the amass snap package with the following command.

sudo snap install amass

To start Amass from the terminal type the command amass

Subcommands: 

    amass intel - Discover targets for enumerations
    amass enum  - Perform enumerations and network mapping
    amass viz   - Visualize enumeration results
    amass track - Track differences between enumerations
    amass db    - Manipulate the Amass graph database

The OWASP Amass Project has developed a tool to help information security professionals perform network mapping of attack surfaces and external asset discovery using open source information gathering and active reconnaissance techniques.

For general information about installing other Kali Linux tools in Ubuntu refer to Proper Installation of Kali linux tools in Ubuntu. If you don't need to install too many Kali Linux tools, check first if the software that you are trying to install is included in the default Ubuntu software repositories and read the warning at LionSec / katoolin GitHub webpage.

Top answer
1 of 4
27

Introduction

Katoolin is a collection of scripts for automating the installation of Kali linux tools in different platforms other than Kali linux, and installing Kali linux tools with Katoolin in other OSs or Windows Subsystem for Linux is always less secure than installing the same tools in Kali Linux. Kali Linux is named after the Hindu goddess of destruction which should give the user some indication that even Kali Linux itself is risky and difficult to manage, especially for new users.

Katoolin draws its tools from a variety of sources including apt and GitHub. Katoolin doesn't know anything about the platform that it is running on, so the safest way to use Katoolin is to install each tool the hard way one tool at a time, checking each time to see if that tool is included in the default Ubuntu repositories and if so installing it that way instead. When the installation is finished, the software sources that were added by Katoolin should be immediately disabled in order to prevent Katoolin from replacing packages that were installed from the default Ubuntu repositories with its own updated packages whenever Ubuntu software is updated.


Installation of Kali linux tools

(Re)install Katoolin as follows:

  1. Open the terminal and type:

    sudo apt install git  
    git clone https://github.com/LionSec/katoolin.git && sudo cp katoolin/katoolin.py /usr/bin/katoolin  
    
  2. Make /usr/bin/katoolin executable.

    sudo chmod +x /usr/bin/katoolin  
    
  3. Run Katoolin as follows and you will see the Katoolin interface:

    cd /usr/bin/
    sudo ./katoolin   
    


    View the categories of available software in katoolin interface

Press 0 to install all Kali linux tools.

When you go to View Categories and then enter 0 for all, the installer will immediately return to where you were. Scroll up, and you'll see that a number of the packages can't be found. Those packages are no longer maintained or have been removed from the Kali repositories. Even with this issue, you'll still find a lot of the Kali software available for installation.

So the best option is to install Kali linux tools in a series of distinct steps. Just like if you want to install Forensic tools on your system, then choose its option from the category and then type 0 to install all forensics tools. If this still doesn't work, then you have to install whatever forensic tools that can be installed one package at a time.

This is why the Katoolin interface sometimes hangs when you try to install all of the Kali linux tools at once. Take the time of waiting for the server to respond to a request for a package that is not available and multiply it by how many unavailable Kali linux tools there are in the Katoolin repositories.

If you wish to go back to the main menu, type gohome in your katoolin interface. Now select the option 3 or 4 to install either the classicmenu indicator or the Kali menu. Press the y key to continue and then press Enter to start its setup.

Once you are done with installation of Kali tools using katoolin, you can quit by pressing the keyboard combination Ctrl+C and you will see the goodbye message.

shutdown requested....Goodbye...

Credit for the above text block goes to Kashif at How To Install Kali Linux Tools On Ubuntu 16 And CentOS 7 with my additions italicized.


Warning about updates after installing Kali linux tools

The LionSec Katoolin GitHub webpage clearly warns Katoolin users to be careful when updating software.

Before updating your system, please remove all Kali-linux repositories to avoid any kind of problem.

2 of 4
3

After using katoolin and adding the repositories , its safe to run sudo apt-get update, but do not use apt-get upgrade if you do, your gnome and desktop will fail to start.

In katoolin :

  1. Add kali repositories & Update

  2. Update your apt-get by katoolin or your terminal

Install all the tools you want, after that do the cleaning by removing kali repos from your sources.list and apt-key.

If any error occurs, it comes from the sources.list, meaning the package or tool is not designed/available for your Linux architecture or katoolin itself has to be updated, because repositories were changed by the owner.

Advice:

  1. Keep in touch with katoolin developers.

  2. Install aptitude:

    sudo apt-get install aptitude
    

    then do a search for the requirements of the package candidates, for example:

    aptitude search "?provides(wine)"
    

    read more about aptitude: What is the difference between dpkg and aptitude/apt-get?

  3. Read about the difference between unable to locate package & no candidates: What does Package <package> has no installation candidate mean?

There is a step by step solution that avoids crashes here: Can I install Kali tools on Ubuntu?

🌐
Kali Linux
kali.org › docs › installation › dual-boot-kali-with-linux
Dual Booting Kali with Linux | Kali Linux Documentation
June 19, 2025 - Since you’ll be modifying your hard drive, you’ll want to store this backup on external media. Once you’ve completed the backup, we recommend you peruse our Kali Linux Hard Disk install guide, which explains the normal procedure for a basic Kali Linux install. In our example, we will be installing Kali Linux alongside an installation of Ubuntu ...
🌐
Reddit
reddit.com › r/linuxquestions › should i install kali or ubuntu and installing the tools i want along the way?
r/linuxquestions on Reddit: Should I install Kali or Ubuntu and installing the tools I want along the way?
January 11, 2024 -

Hi, I'm a CS student majoring in cybersecurity. I have a great interest in pentesting and doing CTFs is my hobby. Very soon I'll buy a new computer which I'll use for school and "administrative" stuff, I'll have Windows 11 running on it for practical reasons. I don't want to get rid of my current computer though and I was thinking I could just uninstall Windows and install a Linux distro as a host OS (getting tired of having to go through VMs to use Linux). I got used to using Kali Linux for school projects and CTF competitions but at the same time I sorta like Ubuntu.

Which one do you recommend me to install: Kali Linux who already has most of the tools I use regularly or Ubuntu with which I'll have to install the required tools along the way?

🌐
University of Baltimore
home.ubalt.edu › abento › Kali-in-Ubuntu.html
Kali-in-Ubuntu
Select each category one at a time and select 0 to install all tools of each category, use back to go to another category (do not install all categories all at once with global 0) when all is done type gohome and select 3 Install classicmenu indicator ... reboot Ubuntu-Kali and the Menu should ...
🌐
GitHub
github.com › mikenizo808 › Installing-Kali-Linux-on-Ubuntu
GitHub - mikenizo808/Installing-Kali-Linux-on-Ubuntu
Visit the kali.org website and download the Baremetal version which will be an .iso that we can use later with the Ubuntu virtualization solution kvm.
Author   mikenizo808
🌐
GoLinuxCloud
golinuxcloud.com › home › kali linux › install kali linux apps on ubuntu [100% working]
Install Kali Linux Apps on Ubuntu [100% Working] | GoLinuxCloud
January 1, 2024 - Step by Step instructions to install kali linux apps on Ubuntu 20 using Katoolin. Install different tools from Kali Linux on Ubuntu.
🌐
Medium
medium.com › @sany4sec › how-to-install-kali-linux-tools-in-ubuntu-or-linux-mint-b2ce8453964e
How to install Kali Linux tools in Ubuntu or Linux mint | by Rabius Sany | Medium
May 29, 2023 - Step 4: Now we need to set the correct priority for packages from Kali Linux repositories: they will have a lower priority than the others, as a result, Kali Linux packages (for example, kernels) will not be installed automatically, but manually you can install any packages that you need.
Find elsewhere
🌐
Kali Linux
kali.org › docs › installation › hard-disk-install
Installing Kali Linux | Kali Linux Documentation
June 19, 2025 - Installing Kali Linux (single boot) on your computer is an easy process. This guide will cover the basic install (which can be done on bare metal or guest VM), with the option of encrypting the partition. At times, you may have sensitive data you would prefer to encrypt using Full Disk Encryption ...
🌐
OSTechNix
ostechnix.com › home › kali linux › install kali linux tools using katoolin3 in ubuntu 20.04 lts
Install Kali Linux Tools Using Katoolin3 In Ubuntu 20.04 LTS - OSTechNix
May 6, 2022 - On modern distributions python3-apt is only for python3.7 and on older distributions python3-apt is only for python3.5. Katoolin3 has to be run accordingly with python3.7 or python3.5. In Ubuntu 20.04 LTS version, I don't have any issues with Katoolin3 installation. ... Katoolin3 will add necessary Kali Linux repositories on your Ubuntu machine and update the sources lists.
🌐
FOSS Linux
fosslinux.com › home › ubuntu › how to install kali linux tools using katoolin on ubuntu 18.04 lts
How to install Kali Linux Tools using Katoolin on Ubuntu 18.04
December 23, 2019 - 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.
🌐
GitHub
github.com › andreock › kali-on-linux
GitHub - andreock/kali-on-linux: Script to install kali tools on ubuntu or debian(also derivated distros)
git clone https://github.com/Andrea055/kali-on-ubuntu.git cd kali-on-ubuntu sudo chmod a+x setup.sh ./setup.sh · Some packages missing, I think are about 20, maybe, if i can, i add those in future. Remember, you don't have Kali Linux kernel with this script, install only tools.
Starred by 42 users
Forked by 6 users
Languages   Shell 100.0% | Shell 100.0%
🌐
DEV Community
dev.to › dumboprogrammer › install-all-kali-linux-tools-in-ubuntu-4a3h
Install ALL KALI LINUX TOOLS in ubuntu! - DEV Community
April 28, 2024 - Now let's get working! Use the following commands : sudo add-apt-repository universe git clone https://github.com/s-h-3-l-l/katoolin3 cd katoolin3 chmod +x ./install.sh ./install.sh sudo katoolin3
🌐
Kali Linux
kali.org › docs › installation
Installation | Kali Linux Documentation
June 19, 2025 - Installing Kali Linux on desktops & laptops using ".ISO" files (x64/x86)
🌐
TechRepublic
techrepublic.com › home › how to install kali linux tools on ubuntu with this easy script
How to install Kali Linux tools on Ubuntu with this easy script - TechRepublic
September 10, 2015 - Here you will see an easy-to-navigate ... A). ... The first thing you must do is install the repositories by tapping the 1 key on your keyboard and then hitting the [Enter] key....
🌐
TecMint
tecmint.com › home › linux distros › kali linux › how to install kali linux tools on ubuntu using docker
How to Install Kali Linux Tools on Ubuntu Using Docker
November 12, 2024 - Now that we know why Docker is useful, let’s go through the process of running Kali Linux tools from Docker containers. To use Docker, you first need to install it on your machine, here are the basic steps for installing Docker on an Ubuntu-based system:
🌐
OSTechNix
ostechnix.com › home › command line utilities › install kali linux tools using katoolin in ubuntu 18.04 lts
Install Kali Linux Tools Using Katoolin In Ubuntu 18.04 LTS - OSTechNix
May 6, 2020 - This tutorial walk you through installing Kali Linux Tools using Katoolin in Ubuntu. For those who don't know, Katoolin is a Python script which is used to install all Kali Linux tools at once or manually one by one. Kali Linux has more than 300 penetration testing tools.
🌐
Quora
quora.com › What-is-the-best-way-to-install-Kali-Linux-on-Ubuntu-16-04-LTS
What is the best way to install Kali Linux on Ubuntu 16.04 LTS? - Quora
Answer (1 of 4): There are two options: Virtual Machine or Dualboot​. My take, I'd rather install Kali Linux in VBox or VMWare Workstation or VMWare Player than dual boot it with any other OS. If your machine is capable enough to run it in Virtual mode (that is, you have min of 8GB of RAM and p...