#! /bin/bash ## This script install NVIDIA CUDA driver in a CENTOS 6 Linux standalone machine via a local rpm file ## Assume the rpm is aldeady downloaded in the same directory ## Run as su ## Download the rpm from https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-rhel6-8-0-local-ga2-8.0.61-1.x86_64-rpm ## Or download the latest rpm version suited for your system at https://developer.nvidia.com/cuda-downloads ## wget https://developer.nvidia.com/compute/cuda/8.0/Prod2/local_installers/cuda-repo-rhel6-8-0-local-ga2-8.0.61-1.x86_64-rpm rpm -i cuda-repo-rhel6-8-0-local-ga2-8.0.61-1.x86_64.rpm yum clean all yum install cuda