I would like to install all Kali linux tools on Ubuntu 15.10. Is there any way to do that? I tried using Katoolin, but that broke my Ubuntu. Is there another way to do this safely without breaking Ubuntu?
I had the same problem after installing Kali via Katoolin on Ubuntu 16.04 and it took me some time to figure out a solution. In my case Katoolin changed the settings in the lsb_release file.
I could fix it with running:
sudo -i gedit /etc/lsb-release
There I had to change the Kali settings, which do not belong there to:
DISTRIB_DESCRIPTION="Ubuntu Xenial Xerus"
In case you have another distro you need to adapt the names (see Wikipedia e.g.).
In your case:
DISTRIB_DESCRIPTION="Ubuntu Wily Werewolf"
Then, run the following command to update grub:
After doing this everything worked fine again for me.
I hope this helps. Sorry, if the explanation is not perfect; it is my first answer here.
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:
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
sudo chmod +x /usr/bin/katoolin
Run Katoolin as follows and you will see the Katoolin interface:
cd /usr/bin/ sudo ./katoolin
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
gohomein 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.
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.
- Ubuntu – Ubuntu turned into Kali GNU/linux desktop by Katoolin
- Ubuntu – Proper Installation of Kali linux tools in Ubuntu
- Ubuntu – How to restore the system OS back to its original condition after attempting to install Kali linux tools onto Ubuntu 16.04
- Ubuntu – Problem while installing katoolin in Ubuntu 17.10