Installing Software Using Local Repositories

As an alternative to the reposync method described in Appendix A, software can also be installed using local repos. These repos provided by NVIDIA will install all of the available packages locally in the filesystem, allowing installation of packages without network access.

Installing the Base Red Hat Enterprise Linux System

The Red Hat components of the software must be installed either using the standard network based installation, or as described in Appendix A. This includes registering and subscribing to the Red Hat Customer Portal.

If the system is connected to the network, follow the steps of the standard Red Hat installation, then enable the additional Red Hat repositories. Finally, execute:

sudo dnf update -y
sudo dnf install -y kernel-devel kernel-headers
sudo reboot

If the system is not connected to the network, follow the instructions in Appendix A to mirror the Red Hat repositories using reposync.

Downloading the Local Repositories

Download the packages that apply to your release.

Release EL8-24.01

DGX Software local repository

dgx-local-repo-24.01-3.el8.x86_64.rpm

NVIDIA CUDA driver local repository

nvidia-driver-local-repo-rhel8-535.129.03-1.0-1.x86_64.rpm

nvidia-driver-local-repo-rhel8-470.223.02-1.0-1.x86_64.rpm

NVIDIA CUDA Toolkit local repository

cuda-repo-rhel8-12-2-local-12.2.2_535.104.05-1.x86_64.rpm

cuda-repo-rhel8-11-4-local-11.4.4_470.82.01-1.x86_64.rpm

Release EL8-23.08

DGX Software local repository

dgx-local-repo-23.08-10.el8.x86_64.rpm

NVIDIA CUDA driver local repository

nvidia-driver-local-repo-rhel8-535.104.05-1.0-1.x86_64.rpm

nvidia-driver-local-repo-rhel8-470.199.02-1.0-1.x86_64.rpm

NVIDIA CUDA Toolkit local repository

cuda-repo-rhel8-12-2-local-12.2.2_535.104.05-1.x86_64.rpm

cuda-repo-rhel8-11-4-local-11.4.4_470.82.01-1.x86_64.rpm

Release EL8-22.08

DGX Software local repository

dgx-local-repo-22.08-4.el8.x86_64.rpm

NVIDIA CUDA driver local repository

nvidia-driver-local-repo-rhel8-525.105.17-1.0-1.x86_64.rpm

nvidia-driver-local-repo-rhel8-515.105.01-1.0-1.x86_64.rpm

nvidia-driver-local-repo-rhel8-470.182.03-1.0-1.x86_64.rpm

nvidia-driver-local-repo-rhel8-450.236.01-1.0-1.x86_64.rpm

NVIDIA CUDA Toolkit local repository

cuda-repo-rhel8-12-0-local-12.0.1_525.85.12-1.x86_64.rpm

cuda-repo-rhel8-11-7-local-11.7.1_515.65.01-1.x86_64.rpm

cuda-repo-rhel8-11-4-local-11.4.4_470.82.01-1.x86_64.rpm

cuda-repo-rhel8-11-0-local-11.0.2_450.51.05-1.x86_64.rpm

Release EL8-22.06

DGX Software local repository

dgx-local-repo-22.06-6.el8.x86_64.rpm

NVIDIA CUDA driver local repository

nvidia-driver-local-repo-rhel8-470.129.06-1.0-1.x86_64.rpm

nvidia-driver-local-repo-rhel8-450.191.01-1.0-1.x86_64.rpm

NVIDIA CUDA Toolkit local repository

cuda-repo-rhel8-11-4-local-11.4.4_470.82.01-1.x86_64.rpm

cuda-repo-rhel8-11-0-local-11.0.2_450.51.05-1.x86_64.rpm

Installing the Local Repositories

Install the local repositories

sudo dnf install -y ./dgx-local-repo-24.01-3.el8.x86_64.rpm
sudo dnf install -y ./nvidia-driver-local-repo-rhel8-535.129.03-1.0-1.x86_64.rpm
sudo dnf install -y ./cuda-repo-rhel8-12-2-local-12.2.2_535.104.05-1.x86_64.rpm

With the local repositories installed, proceed with the standard Installing the DGX Software instructions, with the exception of the CUDA driver installation. To install the CUDA driver from the local repository, follow the steps in the next section Installing the NVIDIA CUDA Driver from the Local Repository.

Installing the NVIDIA CUDA Driver from the Local Repository

  • For non-NVSwitch systems such as DGX-1, DGX Station, DGX Station A100, and DGX Station A800, install the driver using the default profile:

    sudo dnf module install -y nvidia-driver:535-dkms
    sudo dnf install -y nv-persistence-mode libnvidia-nscq-535
    
  • For NVSwitch systems such as DGX-2 and DGX A100/A800, install the driver using the fabricmanager (fm) profile:

    sudo dnf module install -y nvidia-driver:535-dkms/fm
    sudo dnf install -y nv-persistence-mode nvidia-fm-enable
    
  • For DGX H100, install the DKMS version of the driver using the fabric manager (fm) profile:

    sudo dnf module install -y nvidia-driver:535-dkms/fm
    sudo dnf install -y nv-persistence-mode nvidia-fm-enable