Prerequisites: NVIDIA Driver, CUDA, Docker, and NVIDIA Container Toolkit Installation for amd64 / x86_64 Systems
Prerequisites: NVIDIA Driver, CUDA, Docker, and NVIDIA Container Toolkit Installation for amd64 / x86_64 Systems
Introduction
If your compute host uses amd64 or x86_64 CPU architecture, follow the steps below to install the tools below based on the requirements described in the Prerequisites.
Ensure you have the following:
- NVIDIA Driver
- CUDA
- Docker
- NVIDIA Container Toolkit
Installation Steps
-
Find and download installation package for driver 580+
a. On your local machine (with browser), visit the NVIDIA Drivers download page, and observe the fields in the ‘Manual Driver Search’ dialogue box.
b. Enter your system information:
- For systems with x86_64 (amd64) CPU architecture, Ubuntu 24.04, and datacenter GPUs H100, H200, A100, L40S
- For systems with x86_64 (amd64) CPU architecture, Ubuntu 24.04, and the datacenter GPU B200
c. Click Find to find driver version 580 or higher
d. On the results page, click View
e. On the next page, right-click the Download button and select Copy Link Address
f. If Linux 64-bit Ubuntu 24.04 was selected, the link will look like
but if Linux 64-bit was selected, the link will appear like
Some distributions like Ubuntu, Debian, or RHEL, have distribution specific packages, indicated with extensions .deb, .deb, and .rpm respectively. For other distributions, use the .run installer.
-
Direct driver URLs for common configurations:
For Ubuntu 24.04 (Noble):
For Ubuntu 22.04 (Jammy):
For RHEL 8/Rocky Linux 8:
Always check the NVIDIA Driver Downloads page for the latest driver version compatible with your GPU and OS.
The following commands use the $OS_VERSION environment variable set in step 1 to automatically use the correct OS version for your system. This ensures commands are copy-pastable regardless of your Ubuntu version.
- (Optional but recommended) Check current driver and purge old drivers if needed:
This step prevents driver library version conflicts. If you have an existing NVIDIA driver older than version 580, we recommend purging it before installing the new driver.
- Use
wgetto download the driver on your remote machine:
The ${OS_VERSION} variable holds your OS version (e.g., 2204 for Ubuntu 22.04, 2404 for Ubuntu 24.04), and the ${CPU_ARCH} holds your CPU architecture, making this command copy-pastable across Ubuntu versions.
- Install the local repository using
dpkg(for Ubuntu/Debian):
For RHEL/CentOS/Rocky Linux:
- Update package lists and install the driver:
For Ubuntu/Debian:
For RHEL/CentOS/Rocky Linux:
- After installation, reboot to load the new driver:
- After reboot, verify the driver is installed correctly:
You should see output showing your GPU(s) and driver version 580 or higher with CUDA version 13.0 or higher.
Example expected output:
Docker Installation
Verify that docker is installed with version >=23.0.1 with the command below.
If docker is not installed, or is installed but the version does not meet requirements, use the instructions linked below to do the installation.
-
We’ve tested the docker installation, on a Ubuntu system, per the instructions at Install using the apt repository.
-
Docker installation for other Linux distributions is described at docs.docker.com/engine/install
NVIDIA Container Toolkit Installation
Verify that the NVIDIA Container Toolkit is installed, and meets the minimum version requirement, with the command below.
If the NVIDIA Container Toolkit is not installed, or does not meet the minimum version requirement, you must install it.
To install and configure the NVIDIA Container Toolkit
-
Follow the instructions at Installing the NVIDIA Container Toolkit.
- We have tested the workflow at With apt: Ubuntu, Debian, you can omit the option for
experimental packages.
- We have tested the workflow at With apt: Ubuntu, Debian, you can omit the option for
-
Configure the NVIDIA Container Toolkit using the instructions at configuring-docker.
Verifying the NVIDIA Driver, Docker, and NVIDIA Container Toolkit Stack
Verify your NVIDIA Driver, docker, and NVIDIA Container Toolkit configuration by running the command below sourced from running-a-sample-workload-with-docker.
Example output:
For more information on enumerating multi-GPU systems, refer to the NVIDIA Container Toolkit’s GPU Enumeration Docs