I think everyone has known - we need to install katoolin to use Kali Linux Tools on Ubuntu. Before did anything I had looked through the internet and also found out these solutions: Can I install Kali tools on Ubuntu, How to Auto Install All Kali Linux

So here are my steps:

Then, to add Kali Linux repositories and update them, I selected option 1 from the katoolin Menu

Then, to view the available categories and install all available tools, I selected option 2 from the main menu of katoolin and then pressed 0.

But after that I got this:

Furthermore, I got an error in Software Updater - it didn't let me do anything. Ubuntu just hung up. I solved this problem by deleting kali linux repositories in katoolin and then in Software Updater.

Does anyone know how to install Kali Linux tools in Ubuntu 16.04 in a proper way?

fuserfuser

4 Answers

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:

  2. Make /usr/bin/katoolin executable.

  3. Run Katoolin as follows and you will see the Katoolin interface:


    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.

karelkarel

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:

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

    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?

Ahmed Al-attarAhmed Al-attar

In Ubuntu 16: edit file /usr/bin/katoolin and remove all references for the both packages: dff and webshag and save file.

Execute katoolin again - choose 1 and then 2 to update - after that type back and choose 2 and then type 0.

For me it still showed an error for usb-modeswitch for version 2.2.5+repack0-1ubuntu1, so I installed using this package from ubuntuupdates.org

After that I executed katoolin again - chose 1 and then 2 to update - after that type back and choose 2 and then 0 to begin installation.

user564247user564247

I have faced the very same
Edit the file /usr/bin/katoolin (eg use sudo -H gedit usr/bin/katoolin) and remove those two packages, just search for text dff and webshag. Remove those two from apt-get commands too.

Marek ChmelMarek Chmel

protected by CommunityAug 21 '16 at 9:54

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead? Avid pro tools torrent windows.

Not the answer you're looking for? Browse other questions tagged 16.04kalikatoolin or ask your own question.

I want to know if there is any way to install Kali tools like sqlmap, nikto, john, aircrack-ng, .. on Ubuntu 12.04?

If yes, then how should I proceed?

bl4ckh4t_SDBbl4ckh4t_SDB

3 Answers

Copy the following Kali repositories:

Replace the text YOUR_UBUNTU_VERSION based on your Ubuntu version.

  • Ubuntu 12.04: precise
  • Ubuntu 12.10: quantal
  • Ubuntu 13.04: raring

Assuming that you are using Ubuntu 13.04, your repositories would be

Note: If you're an Ubuntu 14.04 user, you can use raring, as Trusty version of Kali repositories are not released

Update sources

Open your sources using the command

Now, gedit editor will open the file kali-tools.list. Paste the above code at the end of your file and Save.

Copy the PGP Key

Copy the Key below and save it as key.pgp text file in your desktop.

Add PGP Key in apt

Open terminal and type

If your key addition is successful, you will see Ok.

Now update your apt-get repositories using the command

Install Synaptic Package Manager

Use the command

If you already have Synaptic installed, you may skip this step.

Install Kali Tools

Now open Synaptic Package manager and click on Origin. You can see 2 Kali repositories by names

Click on the repositories and install the Tools from the list.

Community
Avishek SahaAvishek Saha

Ubuntu has more than that I think!

  • Cyber Sec I PPa's (Cybersec Team)

  • Black hat sec PPA's ( by D4RkNiK0l4s)

Utopic

Trusty

In those PPa's are more than 500+ hacking tools available,this guy has done a very good job!!Those tools are all open source and they don't belong to any name or something else. :D Ubuntu is a great distribution and it has many,many tools and packages available via repositoryinstall them like this :

Trusty

Utopic

Then open synaptic or whatever you like to use and start installing your tools!!

Cyber Sec ICyber Sec I

first of all , i dont advice you to change anything in the sources.list , because it going to damage your ubuntu sooner or later.

but there is a good way to do so in these instructs :there is a good tool called katoolin that will save time for you.

warning: make a copy of your sources list

step 1 : copy your original sources.list

sudo cp /etc/apt/sources.list /etc/apt/sources.list.original

step 2: install git

sudo apt-get install git

step 3: get katoolin tool

Dg foto art gold 6.0 full version. git clone https://github.com/LionSec/katoolin.git

step 4 : copy the tool to your usr bin directory

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

step 5 : change permissions to the tool

sudo chmod +x /usr/bin/katoolin

step 6 : run the tool and extra careful to do a sources.list clean up after every time you install a tool from it or use the tool to remove the repos , and check your self manually.

sudo katoolin

cleanup after running the tool

warning : dont use apt-get upgrade after running the tool it will crush your system and gnome

first of all see the changes that happened in your sources.list

step 1 : check what has been added

cat /etc/apt/sources.list grep 'kali'

if you see a kali source , remove its deb and deb-src and the safe the file.

step 2 : check if there is any ppa from it and remove it :

sudo apt-key list grep kalisudo apt-key del <id>

step 3 : clean what you just did:

sudo apt-get autoremove && apt-get clean

useful references :

(How can I remove gpg key that I added using apt-key add -?)

best regards,

Community
Ahmed Al-attarAhmed Al-attar

protected by CommunityAug 6 '15 at 13:29

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged software-installationsecuritysoftware-sources or ask your own question.

Coments are closed
Scroll to top