Guides - Install NVIDIA Driver Dependencies

Virtual machines equipped with NVIDIA Quadro GPUs. Ideal for complex processing and GPU-optimized workloads.

Prior to installing the driver, you should install the required dependencies. Listed below are commands for installing these packages on many popular distributions.

  1. Find your Linode’s distribution from the list below and install the NVIDIA driver’s dependencies:

    Ubuntu 18.04:

     sudo apt-get install build-essential
    

    Debian 9:

     sudo apt-get install build-essential
     sudo apt-get install linux-headers-`uname -r`
    

    CentOS 7:

     sudo yum install kernel-devel-$(uname -r) kernel-headers-$(uname -r)
     sudo yum install wget
     sudo yum -y install gcc
    

    OpenSUSE:

     zypper install gcc
     zypper install kernel-source
    
  2. After installing the dependencies, reboot your Linode from the Cloud Manager. Rebooting will ensure that any newly installed kernel headers are available for use.

This page was originally published on

Create a Linode account to try this guide with a $100 credit.
This credit will be applied to any valid services used during your first 60 days.

Your Feedback Is Important

Let us know if this guide made it easy to get the answer you needed.