B. 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.

B.1. 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.

B.3. Installing the Local Repositories

Install the local repositories

sudo dnf install -y ./dgx-local-repo-22.04-2.el8.x86_64.rpm
sudo dnf install -y ./nvidia-driver-local-repo-rhel8-450.80.02-1.0-1.x86_64.rpm
sudo dnf install -y ./cuda-repo-rhel8-11-2-local-11.2.0_460.27.04-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.

B.4. Installing the NVIDIA CUDA Driver from the Local Repository

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

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

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