Nvidia 驱动安装不完整记录

Nvidia 驱动安装不完整记录

安装 epel,

sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-releaselatest-8.noarch.rpm

安装 gcc-toolset-11-gcc,

dnf install gcc-toolset-11-gcc

修改 gcc,make,as 为 gcc-toolset-11-gcc 版本,

mv /usr/bin/gcc /usr/bin/gcc.old
mv /usr/bin/make /usr/bin/make.old
mv /usr/bin/as /usr/bin/as.old

ln -s /opt/rh/gcc-toolset-11/root/usr/bin/gcc /usr/bin/gcc
ln -s /opt/rh/gcc-toolset-11/root/usr/bin/make /usr/bin/make
ln -s /opt/rh/gcc-toolset-11/root/usr/bin/as /usr/bin/as

安装 Nvidia 驱动,

sh NVIDIA-Linux-x86_64-535.129.03.run

未完结!

你可能感兴趣的:(LINUX,Nvidia,Cuda)