$ sudo apt-key add /var/cuda-repo-/7fa2af80.pub The distribution-specific packages interface with the distribution's native package management system.
The distribution-independent package has the advantage of working across a wider set of Linux distributions, but does not update the distribution's native package management system. The CUDA Toolkit can be installed using either of two different installation mechanisms: distribution-specific packages (RPM and Deb packages), or a distribution-independent package (runfile packages). Linux-headers-4.15.0-29-generic is already the newest version (4.15.0-29.31).Ġ upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
#The kernel headers and development packages for the currently running kernel can be installed install linux-headers-$(uname -r) #Verify the System has the Correct Kernel Headers and Development Packages uname -r Warranty not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This is free software see the source for copying conditions. #Verify the System Has gcc gcc -versionĬopyright (C) 2017 Free Software Foundation, Inc. #Verify You Have a Supported Version of Linux #WaylandEnable=false -> WaylandEnable=false # Uncoment the line below to force the login screen to use Xorg #Nouveau disabling (open source graphical bash -c "echo blacklist nouveau > bash -c "echo options nouveau modeset=0 > cat /etc/modprobe.d/nfĢ 1000 jpext seat0 show-session 2 -p vi /etc/gdm3/nf Modalias : pci:v000010DEd00001436sv0000103Csd00008275bc03sc00i00ĭriver : nvidia-driver-390 - distro non-free recommendedĭriver : xserver-xorg-video-nouveau - distro free builtin #you can also you can execute the following ubuntu-drivers devices #Determine Graphics card lspci | grep -e VGAĠ0:02.0 VGA compatible controller: Intel Corporation HD Graphics P630 (rev 04)Ġ1:00.0 VGA compatible controller: NVIDIA Corporation GM206GLM (rev a1)
There are a few important steps that are not mentioned there.įor that reason I want to further clarify installation process.
In the first part I’ve described how to properly install nVidia drivers on Ubuntu 18.04 LTSĭetailed instructions can be found on any of these two pages:Īlthough you can find more info about CUDA Toolkit installation at the following page: This is the second part of CUDA-GPU tuning series where I’ll explain how to install CUDA Toolkit 10.1 on Ubuntu 18.04 LTS.