Linux & Unix [How To] add Kali Linux repositories in Ubuntu

Discussion in 'Operating Systems' started by Umbra, Aug 6, 2014.

  1. Umbra

    Umbra From Emsisoft
    Developer

    May 16, 2011
    17,107
    29,310
    Community manager
    Vietnam & France
    Windows 10
    Emsisoft
    #1 Umbra, Aug 6, 2014
    Last edited: Aug 6, 2014
    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"

    [​IMG]

    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.

    [​IMG]

    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)
     
    LabZero and illumination like this.
  2. Aura

    Aura Level 20

    Jul 29, 2014
    963
    2,479
    Technical Support Tier 2
    Québec, Canada
    Windows 10
    Emsisoft
  3. Umbra

    Umbra From Emsisoft
    Developer

    May 16, 2011
    17,107
    29,310
    Community manager
    Vietnam & France
    Windows 10
    Emsisoft
    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
     
  4. nohllywd

    nohllywd New Member

    Mar 6, 2015
    1
    0
    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
     
  5. Razor

    Razor New Member

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

    Attached Files:

  6. jamescv7

    jamescv7 Level 61
    Trusted

    Mar 15, 2011
    12,664
    17,719
    Web and FileMaker Developer
    Philippines
    Windows 10
    Microsoft
    @Razor: As the problem clearly stated, you need to change the repository which may updated the link than the old one. ;)
     
Loading...
Similar Threads Forum Date
How-to Guide [How To] Convert a disk from MBR to GPT Tutorials & Guides Oct 23, 2016
[How to] Secure your Windows network Tutorials & Guides Sep 17, 2015
How-to Guide [How to] configure SecureAPlus for maximum protection Tutorials & Guides Sep 4, 2015