[How To] add Kali Linux repositories in Ubuntu

  • Thread starter Deleted member 178
  • Start date
Status
Not open for further replies.
D

Deleted member 178

Thread author
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"

TKq4AQz.jpg

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.

hCDM7JT.jpg

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 by a moderator:
D

Deleted member 178

Thread author
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
Mar 6, 2015
1
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
 

Razor

New Member
Oct 29, 2015
1
Hi, everything have gone well, but after the "apt-get update" i take these errors. What can i do?
 

Attachments

  • snapshot1.png
    snapshot1.png
    105.5 KB · Views: 1,070

jamescv7

Level 85
Verified
Honorary Member
Mar 15, 2011
13,070
@Razor: As the problem clearly stated, you need to change the repository which may updated the link than the old one. ;)
 
Status
Not open for further replies.

About us

  • MalwareTips is a community-driven platform providing the latest information and resources on malware and cyber threats. Our team of experienced professionals and passionate volunteers work to keep the internet safe and secure. We provide accurate, up-to-date information and strive to build a strong and supportive community dedicated to cybersecurity.

User Menu

Follow us

Follow us on Facebook or Twitter to know first about the latest cybersecurity incidents and malware threats.

Top