How can I install nVidia drivers offline in Ubuntu 12.04?

Mohmmad Ayaz Shaikh December 11, 2012
Pinterest Stumbleupon Whatsapp

Hey guys,

Does anyone know where I can find an offline installer for nVidia’s Ubuntu 12.04 LTS drivers? I would rather not install it via Synaptic package installer because I don’t have a proper internet connection! Can you tell me about dependencies and how do they work, and anything else I need to be aware of?

Thanks!

Ads by Google

  1. Jeff Fisher
    January 17, 2013 at 7:31 am
  2. Mohammed Ayaz
    December 28, 2012 at 4:49 pm

    Guys i have found solution myself here first, i found a website http://packages.ubuntu.com/precise/misc/nvidia-current-updates. Then downloaded the files through smartphone then transferred to my PC i.e. in home folder and executed them using a command "sudo dpkg -i *.*deb" (replace " * " with package name or let it be as it is,the command will still work!) and i couldn't install those packages but i found the reason ( some dependencies were not satisfied actually, some files was missing). I kinda searched that file on same website and found it! Executed it then installed the drivers(desired package). :D I have also searched found another website " http://ihsan15-en.blogspot.com/2012/06/download-offline-installer-ubuntu-1204.html " Hope this helps :)

  3. Shankar C
    December 12, 2012 at 9:27 am

    download the package from the corresponding software reprository.
    the file should be in tar.gz2 format.
    extract them and install

  4. Hunbuhbhuygb Ygygbgybygb
    December 11, 2012 at 6:29 am

    I thought linux automatically install the drivers?

    • Justin Pot
      December 11, 2012 at 4:24 pm

      For Nvidia you need a network connection. Ubuntu can't provide them on the CD, I believe for intellectual property reasons.

  5. Paul Girardin
    December 11, 2012 at 1:54 am

    This answer has been simplified from http://www.webupd8.org/ and other sites

    Use another computer this way :

    To get a list of packages and dependencies necessary to install the drivers you can use this command to get that list saved to a .txt file, don't worry, it will not install anything in your system!

    sudo apt-get --print-uris --yes --reinstall install (name of package here) | grep ^\' | cut -d\' -f2 > (name of package here).txt

    After you have the list and checked the .txt file you can then download the packages with wget or any other downloader tool of your choice:

    wget --input-file (name of package here).txt

    this will read each line in the (name of package here).txt file and download it to you current directory.

    Replace (name of package here) with the actual name without the brackets ( )

    After you saved the files in a USB drive or any other removable media you can then just go to your other computer, change directory to where you saved the files and use sudo dpkg -i *.deb to install them.

    For a better (and longer) explanation, go here: http://www.webupd8.org/2009/11/get-list-of-packages-and-dependencies.html

    Hope this help

    • Vishal Srivastava
      December 13, 2012 at 4:01 pm
    • Vishal Srivastava
      December 13, 2012 at 4:03 pm

      Sorry, pressed enter by mistake!! Awesome Comment!!

Ads by Google