This is post from my blog: How to install the latest NVIDIA Drivers in Linux Mint 16 "petra"
Hey there, linux users around the world. I'll be writing a little how-to install NVIDIA drivers
Please follow this guide if:
david@david-desktop:~/NVIDIA > find . -type d
.
./331.38
./334.16-BETA
Now, whenever I download the drivers I always make sure to place them driver in different folders because they are easy to access. This is just a suggestion, if you don't want to do it that's your choice.
Anyway, let's go get our stuff ready
Step 1) Download the drivers
Step 2)
sudo apt-get install linux-headers-`uname -r` build-essential
sudo apt-get purge xserver-xorg-video-nouveau nvidia*
sudo update-initramfs -u -k all
Step 3) Logout and switch to a different TTY, press CTRL + ALT + F1 (you can use from F1 to F6 Linux Mint usually uses F8 for the display output).
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-uMCigFyCI6M%2FUvmBY7oAwAI%2FAAAAAAAAAWc%2FvsYgfigs3wE%2Fs1600%2Ftty1.png&container=blogger&gadget=a&rewriteMime=image%2F*)
You'll be in tty1 after you pressed CTRL + ALT + F1
Login with your user and password
Step 3) An important note, at least in my Linux Mint 16 we use MDM which is the Mate Display Manager, the one that handles greetings and let us login into different sessions. What we are going to do is stop it. In an enviroment like Lubuntu where the DM is LightDM then you would say "sudo service lightdm stop"
sudo service mdm stop
Step 4) Go to the directory where you downloaded your drivers
I'm going to use drivers 331.38 in my example, it could be different for you.
Step 5)
chmod +x NVIDIA-Linux-x86_64-331.38.run
sudo ./NVIDIA-Linux-x86_64-331.38.run
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-VuzMo3XJ0_0%2FUvl9gPYDzRI%2FAAAAAAAAAWM%2F8m8X_tqgtW0%2Fs1600%2FLubuntu%2B32%2Bbit1.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Accept or we won't get anywhere
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-1xs7Snr_XBM%2FUvl9gFiFHzI%2FAAAAAAAAAV4%2FCBOhV9DQo68%2Fs1600%2FLubuntu%2B32%2Bbit2.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Continue! (Yes)
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-GtjOvfceYpQ%2FUvl9gHMBfmI%2FAAAAAAAAAV8%2FFQcba-KzIHY%2Fs1600%2FLubuntu%2B32%2Bbit3.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Almost done, sir!
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-uEcVxatCcs8%2FUvl9g3K4VHI%2FAAAAAAAAAWI%2F1YfKhiedWds%2Fs1600%2FLubuntu%2B32%2Bbit4.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Step 6) The installer will ask you if you want to enable DKMS. What DKMS support will do is that every time there's a new kernel update it will automatically build the driver. I haven't tested this feature so I answered in mine no.
Step 7) The installer will ask you if you want to install 32 bit libraries. Say yes unless you want to say good bye to Steam and WINE games. The installer will install it in: /emul/ia32-linux/usr/lib/
Step 8) The installer will ask you if you want to update X.org configuration. I always choose yes.
Step 9) You are done, reboot and come back here because you aren't done.
Step 10) Once you logged into your machine.
sudo kate /etc/ld.so.conf
Step 11) Add the path /emul/ia32-linux/usr/lib at the end of the file
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F2.bp.blogspot.com%2F-HOXy596amUk%2FUvmET4uyn4I%2FAAAAAAAAAWo%2FLbmzAptA-5M%2Fs1600%2F2014-02-10-21%3A59%3A34-screenshot.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Step 12)
sudo ldconfig -v
Congrats, you are done. Please leave any questions or doubts here. The reason for adding 32 bit libraries of those drivers is because a lot of games and applications like WINE 32bit still uses them. Steam won't "find" OpenGL.so because there's no 32 bit alternative.
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F1.bp.blogspot.com%2F-swQ0gI5M8_M%2FUvmGsfYxgdI%2FAAAAAAAAAW0%2Fjsmny4eop84%2Fs1600%2F2014-02-10-22%3A10%3A07-screenshot.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Things to know:
Hey there, linux users around the world. I'll be writing a little how-to install NVIDIA drivers
Please follow this guide if:
- You are willing to dirty your hands with the terminal. Ubuntu and its variants (Linux Mint) has done a great job in maintaining the simplicity.
- You really need the drivers. Some drivers could lead to instability, uninstalling them is an easy task though.
- You want the latest NVIDIA drivers for Linux, I think that's why you are here. Let's get started
david@david-desktop:~/NVIDIA > find . -type d
.
./331.38
./334.16-BETA
Now, whenever I download the drivers I always make sure to place them driver in different folders because they are easy to access. This is just a suggestion, if you don't want to do it that's your choice.
Anyway, let's go get our stuff ready
Step 1) Download the drivers
Step 2)
sudo apt-get install linux-headers-`uname -r` build-essential
sudo apt-get purge xserver-xorg-video-nouveau nvidia*
sudo update-initramfs -u -k all
Step 3) Logout and switch to a different TTY, press CTRL + ALT + F1 (you can use from F1 to F6 Linux Mint usually uses F8 for the display output).
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-uMCigFyCI6M%2FUvmBY7oAwAI%2FAAAAAAAAAWc%2FvsYgfigs3wE%2Fs1600%2Ftty1.png&container=blogger&gadget=a&rewriteMime=image%2F*)
You'll be in tty1 after you pressed CTRL + ALT + F1
Login with your user and password
Step 3) An important note, at least in my Linux Mint 16 we use MDM which is the Mate Display Manager, the one that handles greetings and let us login into different sessions. What we are going to do is stop it. In an enviroment like Lubuntu where the DM is LightDM then you would say "sudo service lightdm stop"
sudo service mdm stop
Step 4) Go to the directory where you downloaded your drivers
I'm going to use drivers 331.38 in my example, it could be different for you.
Step 5)
chmod +x NVIDIA-Linux-x86_64-331.38.run
sudo ./NVIDIA-Linux-x86_64-331.38.run
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-VuzMo3XJ0_0%2FUvl9gPYDzRI%2FAAAAAAAAAWM%2F8m8X_tqgtW0%2Fs1600%2FLubuntu%2B32%2Bbit1.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Accept or we won't get anywhere
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-1xs7Snr_XBM%2FUvl9gFiFHzI%2FAAAAAAAAAV4%2FCBOhV9DQo68%2Fs1600%2FLubuntu%2B32%2Bbit2.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Continue! (Yes)
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-GtjOvfceYpQ%2FUvl9gHMBfmI%2FAAAAAAAAAV8%2FFQcba-KzIHY%2Fs1600%2FLubuntu%2B32%2Bbit3.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Almost done, sir!
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F3.bp.blogspot.com%2F-uEcVxatCcs8%2FUvl9g3K4VHI%2FAAAAAAAAAWI%2F1YfKhiedWds%2Fs1600%2FLubuntu%2B32%2Bbit4.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Step 6) The installer will ask you if you want to enable DKMS. What DKMS support will do is that every time there's a new kernel update it will automatically build the driver. I haven't tested this feature so I answered in mine no.
Step 7) The installer will ask you if you want to install 32 bit libraries. Say yes unless you want to say good bye to Steam and WINE games. The installer will install it in: /emul/ia32-linux/usr/lib/
Step 8) The installer will ask you if you want to update X.org configuration. I always choose yes.
Step 9) You are done, reboot and come back here because you aren't done.
Step 10) Once you logged into your machine.
sudo kate /etc/ld.so.conf
Step 11) Add the path /emul/ia32-linux/usr/lib at the end of the file
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F2.bp.blogspot.com%2F-HOXy596amUk%2FUvmET4uyn4I%2FAAAAAAAAAWo%2FLbmzAptA-5M%2Fs1600%2F2014-02-10-21%3A59%3A34-screenshot.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Step 12)
sudo ldconfig -v
Congrats, you are done. Please leave any questions or doubts here. The reason for adding 32 bit libraries of those drivers is because a lot of games and applications like WINE 32bit still uses them. Steam won't "find" OpenGL.so because there's no 32 bit alternative.
![](https://images-blogger-opensocial.googleusercontent.com/gadgets/proxy?url=http%3A%2F%2F1.bp.blogspot.com%2F-swQ0gI5M8_M%2FUvmGsfYxgdI%2FAAAAAAAAAW0%2Fjsmny4eop84%2Fs1600%2F2014-02-10-22%3A10%3A07-screenshot.png&container=blogger&gadget=a&rewriteMime=image%2F*)
Things to know:
- You don't have to update ldconfig everytime you install the drivers
- The NVIDIA drivers will usually save your answers for later installations
- You can uninstall the drivers by saying sudo ./NVIDIA[longname].sh -uninstall