How to install the proprietary nVidia driver

In case Ubuntu does not allow you to install the proprietary nVidia drivers through System> Administration> Hardware Drivers, there is always a way to install everything "manually". Here are the instructions to do it, step by step.

  1. Open the terminal and uninstall any version of the nVidia drivers that you have previously installed.
sudo apt-get purge nvidia *
  1. Next, block the free driver "noveau". To do so, open the file into / etc / modprobe.d / blacklist.conf and add this line at the end.
blacklist new
  1. Install the latest driver from the official repositories.
sudo apt-get install nvidia-current
  1. Next, load the nVidia kernel module.
sudo modprobe nvidia-current
  1. You can verify that this command was successful by typing ...
sudo lsmod | grep -i nvidia
  1. Lastly, create the nVidia configuration file.
sudo nvidia-xconfig

Note:
In case when trying to install the driver you get an error saying that nVidia cannot be installed or compiled due to a kernel problem, try reinstalling the build-essential and linux-headers-'uname -r 'packages.

sudo aptitude install build-essential linux-headers-'uname -r '

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Gaius baltar said

    In fact the file in Ubuntu (I don't know in other distros) is in the path '/etc/modprobe.d/blacklist.conf', as the header warns, this article may be out of date.

  2.   Gaius baltar said

    PS: you have to use 'sudo' to open the text editor as root. 'sudo nano into / etc / modprobe.d / blacklist.conf'. If you prefer something more graphical: 'gksudo gedit into / etc / modprobe.d / blacklist.conf'

  3.   caleb jakez said

    Problem: I can't modify the file into / etc / modprobe.d / blacklist.conf, I don't have the necessary permissions. What do I do: -s ??

  4.   Gaius baltar said

    If you do not know how to have these permissions, it is not recommended that you add anything to blacklist.conf ... what do you want to do?

  5.   Saito Mordraw said

    I was looking for this information in many places, until I finally found it with you = D

    Thank you very much, it goes to favorites.

  6.   aldobelus said

    Hi. When I get to this step:
    sudo modprobe nvidia-current
    I get this:
    FATAL: Module nvidia_current not found.
    I am looking for solutions but any help is welcome. Cheers

  7.   pansxo in said

    Excellent partner contribution. Usually I uninstalled the free nouveau driver on my machine and installed the proprietary ones from nvidia. But this time I had trouble modifying the kernel to install the nvidia drivers.

    I followed the tutor ... and solved! thanks again 😀

    1.    Edgardo said

      I don't understand in which folder I find it ».. I'm new to Linux and newer to Mint .. how do I get that path to be able to modify the file?