Linux [How To] add Kali Linux repositories in Ubuntu

Umbra

Level 85
Content Creator
Verified
Joined
May 16, 2011
Messages
18,274
OS
Windows 10
Antivirus
Default-Deny
#1
hi guys,

for those who doesn't know , Kali Linux (ex-Backtrack) is a powerful forensic distro based on Debian, but many of us use Ubuntu (or variants) because it is easier to handle.

so in this tutorial, i will show you how to proceed to add Kali repositories to get Kali tools in Ubuntu.

i am using Kubuntu Trusty personally so this tutorial will reflect it; you have to adjust the procedure slightly if you use Ubuntu, Lubuntu, Xubuntu or/and with an older kernel

1- open your Software Center/Manager, the application that allows you to pick various softwares (Muon Discover, etc..)

2- go to each link below, click on technical details , select your ubuntu version; important , Trusty is not available yet so you have to choose Raring instead.

Code:
https://launchpad.net/~wagungs/+archive/ubuntu/kali-linux
 
https://launchpad.net/~wagungs/+archive/ubuntu/kali-linux1
 
https://launchpad.net/~wagungs/+archive/ubuntu/kali-linux2
3- click on Source tab , then "add source"


4- copy the links below then add them one by one in order to the source (step 3).
For example for my Kubuntu Trusty 14.04 i have to use Raring

Code:
deb http://ppa.launchpad.net/wagungs/kali-linux/ubuntu raring main
Code:
deb http://ppa.launchpad.net/wagungs/kali-linux1/ubuntu raring main
Code:
deb http://ppa.launchpad.net/wagungs/kali-linux2/ubuntu raring main
5- close and relaunch your software center to see if the lines above are added.

6- now open your text editor, copy the line below, and save the files as: kali.pgp

Code:
-----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-----
this is the pgp key needed that will allow you to get the repositories.

7- open Terminal where you saved the kali.pgp file (important), and type:

Code:
 sudo apt-key add kali.pgp
"OK" should appears if you successfully done it.

8- Now update your apt-get repositories using this command.

Code:
sudo apt-get update
9- now the repositories are added , you can check them via the package manager (Synaptic, Muon Package Manager, etc...) , if you don't have it ; install it via :

Code:
sudo apt-get install synaptic
10- Open Synaptic (or your package manager) and click on "origin" button in lower left side pane. You will see the Kali Linux repositories.


11- click on any of them, then in the right pane, all the tools available will be shown.

12- click on any tools, select install and apply ; the tools will be installed.
note: some tools may not works because Ubuntu is not Kali , so some incompatibilities will happen.

Thanks for reading.

(pictures will be added soon)
 
Last edited:

Aura

Level 20
Verified
Joined
Jul 29, 2014
Messages
963
OS
Windows 10
Antivirus
Emsisoft
#2

Umbra

Level 85
Content Creator
Verified
Joined
May 16, 2011
Messages
18,274
OS
Windows 10
Antivirus
Default-Deny
#3
for the moment i don't get any issues, but of course incompatibilities may happen, but i don't think it will be such serious.

Kali --> Ubuntu seems theorically safer than Ubuntu --> Kali
 

nohllywd

New Member
Joined
Mar 6, 2015
Messages
1
#4
for the moment i don't get any issues, but of course incompatibilities may happen, but i don't think it will be such serious.

Kali --> Ubuntu seems theorically safer than Ubuntu --> Kali
Hello,
I wanted to report back. I followed the directions and it works great, so far. Its a little slower but everything works. I like this better than Kali
I have an nvidia gpu and Xubuntu runs alot better.

Thanks
 

jamescv7

Level 61
Verified
Joined
Mar 15, 2011
Messages
12,638
OS
Windows 10
Antivirus
Microsoft
#6
@Razor: As the problem clearly stated, you need to change the repository which may updated the link than the old one. ;)