Dec112012

How can I install nVidia drivers offline in Ubuntu 12.04?

Mohmmad Ayaz Shaikh asks:

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!


Browser: Firefox 7
System:
Tagged: , , , ,

6 Answers - Write an Answer

0 votes
Reply

Paul Girardin

December 11, 2012

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
Vishal Srivastava

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

December 13, 2012
0 votes
Reply

Hunbuhbhuygb Ygygbgybygb

December 11, 2012

I thought linux automatically install the drivers?

Justin Pot

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

December 11, 2012
0 votes
Reply

Shankar C

December 12, 2012

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

0 votes
Reply

Mohammed Ayaz

December 28, 2012

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 :)

0 votes
Reply

Jeff Fisher

January 17, 2013

Write an Answer

Log in to MakeUseOf using one of your online accounts below.
(Why? Earn points, unlock giveaways, access exclusives)

Or, comment anonymously