Kali Linux is a Debian-derived Linux distribution designed for digital forensics and penetration testing. But considering the OS is specifically designed for forensics and testing purposes, it won’t be suitable for daily computing. That’s why a lot of people try to install all the tools from Kali onto a normal OS like Ubuntu. Here in this article I will explain the steps needed to install those Kali Linux apps on your Ubuntu system.
But before you start doing the steps decribed below, you should know that, some times Ubuntu will fail to launch properly after the installation of Kali Linux tools. This is only because tese tools are not supposed to run on any other systems and installing these tools might patch your Ubuntu Kernal in such a way that it is not usable any more. So if you must tr this, please make sure that you have made proper backups of your current system state.
Now, if you’re reading this, I take it as you have thought about it and would like to install the apps no matter what the risks are. So here it is:
Disclaimer: This post is for educational purposes only. If you do something on your system and it messes up your system and your important data, that is only because of your actions, not becuase I wrote it here.
Warning: According to several sources, the latest Kali Linux apps are not supported by the latest Ubuntu flavor. Latest Ubuntu version supported is 13.04. Kepp in mind that I write this tutorial believing thatt you’re installing these tools on a Ubuntu 13.04 Raring Ubuntu flavor.
- Go to each of the following links in your browser and click on technical details. Select Raring. And copy the sources from the small text box under the selection you made.
- Now open your Software Center/Manager and go to your sources tab. There click on add source and add the links you copied from the bove step one by one here.
- Once you added all the source entries, pelase close the software center and relaunch it. It will update the sources and see if the source tab has all those entries you just added.
- Now open a text editor and copy the code below entirely and save it as kali.pgp on your home directory.
-----BEGIN PGP PUBLIC KEY BLOCK----- Version: SKS 1.1.4 Comment: Hostname: keyserver.ubuntu.com mI0ET324YwEEANbSlISrOlAGjxgFRxiN6jk0JIl/vxQ8lapRdxZ4DHDAQdXbX4AuigMBkP5e sOxhMpDnkgMRtEVpaBMdQheA0/431pPQYqkr3jdeZw5JS5opiyJ4qr/QrcoSFHSluEkWkbZ6 RYOkA25vW31KK2FB2LQVRYk580llXAVgIUznm2ATABEBAAG0GExhdW5jaHBhZCBQUEEgZm9y IHdhZ3VuZ4i4BBMBAgAiBQJPfbhjAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRAb IuuNj9/bVxabBADSGN8cp+hqkdZqwq263wdz/UGsiuB1bCrH06/HznC/ZC5rjfH3aQ1Dwwag zYCrSD3c0cKNAqD10009N76RMlzZBH8kKL9khH3zPL/k4/lYuVP7y6NKFbBsnawEUc0mWcCa mH4ScTdWWPXP/mOQiUUjnQ1bZhzpcbQOb+hEUAqExg== =fJ+8 -----END PGP PUBLIC KEY BLOCK-----
- Now open the terminal. It must be in your home folder, if not, please change your directory and goto your home folder so that the terminal is now in the same place as the pgp file you saved from the above step.
- Now type in sudo apt-key add kali.pgp in the terminal, and it will show “OK”.
- Now type in sudo apt-get update and press enter so that it will update the repositories.
- Open your package manager, or install synaptic and choose the options to show the packages by origin. Select Kali repositories which you added earlier.
- Now install any of the tools you might want from the software listing pane.
Warning: Some tools may not work, or create compatibility issues. The reason is, these tools were not created for using these with Ubuntu. So keep this in mind while installing. It is always good to do a quick reasearch on internet before you install anything.
Hope this tutorial was helpful for you. In case you have any doubts, please ask them by commenting below.