You can install CUDA 11 on CentOS 8 or Red Hat Linux 8.


  1. Navigate to directory on the virtual machine in which to download the NVIDIA CUDA distribution.
    cd <download_directory>
  2. To download the NVIDIA CUDA 11 package for CentOS 8 or Red Hat Linux 8, run the wget command.
  3. To install the CUDA package, run the rpm -i command.
    sudo rpm -i cuda-repo-rhel8-11-0-local-11.0.3_450.51.06-1.x86_64.rpm
  4. Run the yum clean all and yum -y install commands as shown to update your environment and install the CUDA software package.
    sudo yum clean all
    sudo yum -y install cuda
  5. (Optional) To confirm your GPU partition size or verify the resources available on your vSphere Bitfusion deployment, run the NVIDIA System Management Interface (nvidia-smi) monitoring application .
    bitfusion run -n 1 nvidia-smi
  6. Navigate to the directory containing the CUDA Matrix Multiplication (matrixMul ) sample files.
    cd /usr/local/cuda/samples/0_Simple/matrixMul 
  7. Run the make and bitfusion run commands against the matrixMul sample file.
    sudo make
    bitfusion run -n 1 ./matrixMul

What to do next

Install and configure NVIDIA cuDNN. See Install NVIDIA cuDNN.