yum install -y nvidia-driver-cuda nvidia-driver nvidia-driver-libs.i686
报错:
GPG key at https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/7fa2af80.pub (0x7FA2AF80) is already installed
The GPG keys listed for the "cuda-rhel8-x86_64" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.. Failing package is: cuda-license-10-1-10.1.243
-1.x86_64 GPG Keys are configured as: https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/7fa2af80.pub
Public key for cuda-nvml-dev-10-1-10.1.243-1.x86_64.rpm is not installed. Failing package is: cuda-nvml-dev-10-1-10.1.243-1.x86_64
修复:
rpm --import https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/D42D0685.pub
再yum install