How to Install Latest NVIDIA Drivers on Ubuntu without PPA’s

Hello, I am making this guide because I suffered a lot when installing Latest NVIDIA Drivers on my Ubuntu Machine. I hope this guide helps you setup your card successfully…

IMPORTANT: you should be comfortable will typing commands in the temrinal

Before installing your Nvidia driver please issue the following commands in a terminal:

sudo apt-get update
sudo apt-get upgrade

reboot if necessary..

If you are on a 64bit system issue this command in the terminal:

sudo apt-get install ia32-libs

Next, we have to download the Latest NVIDIA Driver from the official driver repository

for 32bit systems download from here
for 64bit systems download from here

Download the driver with the latest date mentioned next to it. At the time of writing this guide, latest available driver was: 325.15 Dated 8/5/13

Now, follow these steps:

Step 1: Download the driver. the file will be saved in your download folder under your home directory. /home/username/Downloads

Step 2: Create a file named nvidia-graphics-drivers.conf under /etc/modprobe.d/ using a text editor like gEdit or nano.

Open the terminal and type exactly like this:
cd /etc/modprobe.d
sudo gedit nvidia-graphics-drivers.conf

Enter your login password to open the editor with super user privileges and type the following lines as show below:

blacklist nouveau
blacklist lbm-nouveau
blacklist nvidia-173
blacklist nvidia-96
blacklist nvidia-current
blacklist nvidia-173-updates
blacklist nvidia-96-updates
alias nvidia nvidia_current_updates
alias nouveau off
alias lbm-nouveau off

Once your have written these lines (remove spaces), save the file and close the editor.

Step 3: Reboot your machine.

Now, once your reboot.. the system will boot with very low screen resolution. Don’t panic, we have just disabled the driver on which the system was running earlier. Don’t log in now, infact move to step 4.

Step 4: press CTRL + ALT + F2 to bring up the terminal. You will be asked to enter your log-in id and password. Do so now.

Once you have logged in, move to the folder where you have downloaded the NVIDIA driver. I am presuming that it was saved in the Download folder under your home directory. To change the directory, just type ‘cd Downloads‘ so that the directory changes to /home/your_username/Downloads

Step 5: We have to make the downloaded file an executable. To do that, type in the following at the prompt:
chmod u+x

Step 6: Stop the display service by executing the following command at the prompt. You will be asked your password so type in when required:
sudo service ligthdm stop (this command will stop the currently running display service)

Step 7: Run the program by typing the following. You will be asked for your login password again:
sudo ./ (this will run the NVIDIA installer)

Once everything is done, you will be thrown back to the prompt.

Step 8: Reboot by typing
sudo shutdown -r now

Once rebooted, your new driver is active. Check by searching NVIDIA in dash and modify the settings accordingly.

Thank You for reading. Hope this helps.

If you find anything inappropriate/misleading or facing a difficulty, type a comment and we can discuss. I am a Linux newbie and I hope I will be able to solve it.

Till then Happy Computing..

This entry was posted in HOWTOs and tagged , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s