Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Centos 7 for CUDA 10.0. Also daily driver linux desktop

yum install -y gcc sudo yum install kernel-devel-$(uname -r) kernel-headers-$(uname -r) cd Downloads/ sudo rpm --install cuda-repo-rhel7-10-0-local-10.0.130-410.48-1.0-1.x86_64.rpm

rpm -ivh epel-release-7-0.2.noarch.rpm

yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

yum -y install dkms

yum -y install epel-release

yum install libvdpau -y

rpm --install cuda-repo-rhel7-10-0-local-10.0.130-410.48-1.0-1.x86_64.rpm

yum clean expire-cache

Blacklist nouveau

vi /etc/modprobe.d/blacklist-nouveau.conf

don't remember what this did

dracut --force

Restart and boot into runlevel 3 to finish installation

These docs are helpful https://www.advancedclustering.com/act_kb/installing-nvidia-drivers-rhel-centos-7/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment