title: Trying to install CUDA 9.2 on Ubuntu 18.04
body: <p>I'm trying to install CUDA 9.2 on Ubuntu 18.04, following <a href="https://linoxide.com/linux-how-to/install-cuda-ubuntu/" rel="nofollow noreferrer">this</a> website:</p>
  
  <p>I've downloaded the NVIDIA CUDA Toolkit, (the shell script cuda_9.2.88_396.26_linux), but when I run it ($sudo sh cuda_9.2.88_396.26_linux), this is what I get :</p>
  
  <pre><code>Installing the NVIDIA display driver...
  A system reboot is required to continue installation. Please reboot then run the installer again. 
  An attmept has been made to disable Nouveau. 
  If this message persists after reboot, please see the display driver log file at /var/log/nvidia-installer.log for more information.
  </code></pre>
  
  <p>So, I reboot and I run again the shell script ($sudo sh cuda_9.2.88_396.26_linux), and I got the same message. This is what the nvidia-installer.log says: </p>
  
  <pre><code> ERROR: The Nouveau kernel driver is currently in use by your system.  This driver is incompatible with the NVIDIA driver, and must be disabled before proceeding.  Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
  WARNING: One or more modprobe configuration files to disable Nouveau are already present at: /etc/modprobe.d/nvidia-installer-disable-nouveau.conf.  Please be sure you have rebooted your system since these files were written.  If you have rebooted, then Nouveau may be enabled for other reasons, such as being included in the system initial ramdisk or in your X configuration file.  Please consult the NVIDIA driver README and your Linux distribution's documentation for details on how to correctly disable the Nouveau kernel driver.
  -&gt; For some distributions, Nouveau can be disabled by adding a file in the modprobe configuration directory.  Would you like nvidia-installer to attempt to create this modprobe file for you? (Answer: Yes)
  -&gt; One or more modprobe configuration files to disable Nouveau have been written.  For some distributions, this may be sufficient to disable Nouveau; other distributions may require modification of the initial ramdisk.  Please reboot your system and attempt NVIDIA driver installation again.  Note if you later wish to reenable Nouveau, you will need to delete these files: /etc/modprobe.d/nvidia-installer-disable-nouveau.conf
  ERROR: Installation has failed.  Please see the file '/var/log/nvidia-installer.log' for details.  You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
  </code></pre>
  
  <p>I've already installer my nvidia drivers.</p>