Skip to content

Instantly share code, notes, and snippets.

@ericdill
Created September 10, 2019 12:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericdill/be915435ff93143a48115620cd3012ca to your computer and use it in GitHub Desktop.
Save ericdill/be915435ff93143a48115620cd3012ca to your computer and use it in GitHub Desktop.
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

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