Installing Nvidia GPU Drivers on Linux
This document provides instructions for installing Nvidia GPU drivers
Installation on Red Hat Enterprise Linux (RHEL 9)
Step 1: Enable EPEL and CodeReady Builder Repositories
# Update the DNF package repository cache
sudo dnf makecache
# Enable the RHEL 9 CodeReady Builder package repository.
# This repository provides additional development tools and libraries.
sudo subscription-manager repos --enable codeready-builder-for-rhel-9-$(uname -i)-rpms
# Install the epel-release package. EPEL (Extra Packages for Enterprise Linux)
# provides high-quality add-on packages for RHEL.
sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
# Update the DNF package repository cache again to ensure all changes take effect.
sudo dnf makecache
Step 2: Install Dependencies and Build Tools
Step 3: Add the Nvidia CUDA Repository
Step 4: Install Nvidia GPU Drivers
Step 5: Verify the Installation

Installation on Ubuntu
Step 1: Update Package Lists
Step 2: Install Nvidia GPU Drivers
Step 3: Verify the Installation

Last updated