Results 1 to 5 of 5

Thread: installing proprietary nvidia drivers Kali 2016.2

  1. #1

    installing proprietary nvidia drivers Kali 2016.2

    Hi all,
    I was wondering if you can help me writing a tutorial on how to install Nvidia drivers on Kali Linux 2016.2
    As there is no tutorial available, I'd like to write one up but I'm getting stuck on the very first step.
    All other tutorials that I’ve found in regards of this topic a written for older versions of Kali Linux 2016.2, and simply don't apply here.

    I have following setup:
    lspci | grep ‘VGA’
    >> 01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
    more /proc/cpuinfo
    >> Intel(R) Core(TM) i7-4930K CPU @ 3.40GHz


    I executed the following steps to prepare the system, if unusual
    the output can be found underneath the command indented by one tab


    1: (update sources)
    echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list"

    2: (fully update system)
    apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y

    3: (Install headers)
    apt-get install -y linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package linux-headers-4.6.0-kali1-amd64
    E: Couldn't find any package by glob 'linux-headers-4.6.0-kali1-amd64'
    E: Couldn't find any package by regex 'linux-headers-4.6.0-kali1-amd64'


    And step 3: is where i got stuck, any idea what I need to do?


    Any help would be appreciated as I'm sure there's other people that are wondering how to install Nvidia proprietary drivers on Kali Linux 2016.2




    Thanks

  2. #2
    Join Date
    2014-Mar
    Posts
    163
    Already exists many tutorials on the web in how to install proprietary nvidia drivers on kali .
    https://www.blackmoreops.com/2014/03...er-kali-linux/

    But sources list of kali sana 2.0 should have all these repositories :
    deb http://old.kali.org/kali sana main non-free contrib
    deb-src http://old.kali.org/kali sana main non-free contrib
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    the "lspci | grep ‘VGA’" is just a command to make you sure that you are using an nvidia card and witch model .
    After that point you can go directly to nvidia website and download the drivers , then extract them and run them on console mode with gdm3 service shutdown .

  3. #3
    Join Date
    2014-May
    Posts
    28
    """gdm3 service shutdown"" is not work

  4. #4
    got to the next step by adding lines above to sources.list. Now stuck at this step

    apt-get install nvidia-kernel-dkms
    >Reading package lists... Done
    >Building dependency tree
    >Reading state information... Done
    >Package nvidia-kernel-dkms is not available, but is referred to by another package.

    I found the following source package on debian website which includes my graphics card

    packages.debian.org/sid/nvidia-legacy-340xx-driver
    but how do I add that to my sources.list

    Or where can i find the drivers on nvidia website, i don't think they list them anymore, i've spent all morning to find the right driver for my card, but can't seem to find them



    Please help

  5. #5
    Hello again,
    I managed to render my installation of kali linux 2016.2 useless, so I re-installed it, and started
    the process over again, following the tutorial found under:
    https://www.blackmoreops.com/2014/03...er-kali-linux/


    Here are the steps outlined which can be found in that tutorial.


    echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" >> etc/apt/sources.list
    apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
    apt-get install -y aptitude
    aptitude -r install linux-headers-$(uname -r)
    apt-get install nvidia-kernel-$(uname -r)
    aptitude install nvidia-kernel-dkms
    aptitude install nvidia-xconfig
    nvidia-xconfig
    reboot



    Since the installion stalled again on the following step,

    aptitude -r install linux-headers-$(uname -r)

    with following output
    > Couldn't find any package whose name or description matched "linux-headers-4.6.0-kali1-amd64"
    > Unable to apply some actions, aborting

    I followed @pedropt advice and added the recommended repositories to /etc/apt/sources.list
    echo "deb http://old.kali.org/kali sana main non-free contrib" >> /etc/apt/sources.list
    echo "deb-src http://old.kali.org/kali sana main non-free contrib" >> /etc/apt/sources.list
    echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list
    echo "deb-src http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list

    and retried that step, but it still fails and shows the error. I'm totally stuck at this point and I'm not sure what to try next

    I figured I have to download the driver manually from NVIDIA
    this is the file I downloaded "NVIDIA-Linux-x86_64-304.132.run" it is about 69.4 MB large

    This is the Info about that driver package:
    LINUX X64 (AMD64/EM64T) DISPLAY DRIVER
    Version: 304.132
    Release Date: 2016.9.26
    Operating System: Linux 64-bit
    Language: English (US)
    File Size: 66.21 MB

    Supported Products reads:
    ...
    GeForce 200 Series:
    GeForce GTX 295, GeForce GTX 285, GeForce GTX 280, GeForce GTX 275, GeForce GTX 260, GeForce GTS 250,
    GeForce GTS 240, GeForce GT 230, GeForce GT 240, GeForce GT 220, GeForce G210, GeForce 210, GeForce 205
    ...

    here is the link
    http://www.nvidia.com/content/Driver...s&type=GeForce

    So my GeForce 210 is supported by this driver package, but how do I install it manuall and after which step should I do so?




    Please help! I will compile everything into a tutorial, so other who have the same errors with kali linux 2016.2 are helped too.


    Thanks

Similar Threads

  1. What is the correct way to install/add nvidia drivers Kali Linux 2016.2
    By MrBlack911 in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2017-02-23, 03:07
  2. Replies: 1
    Last Post: 2016-09-24, 07:25
  3. Replies: 12
    Last Post: 2015-11-12, 21:14

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •