

Save the above file by pressing Ctrl+x, followed by ‘y’ and pressing Enter.Add the following lines to the above created file :.Once completed, few more steps are needed, like adding /usr/local/cuda to default path environment variable, etc.Enter the default path itself (/usr/local/cuda). During the install, you’ll be asked to supply installation path.Open terminal and change directory to ~/Downloads.You’ll notice that the GUI resolution is back to normal, indicating successful Nvidia driver install.During the above install, accept the licence agreement shown. NOTE : there’s a double minus sign before the word kernel above.Now finally, we are ready to run the installer.Mark the 3 downloaded files as executables:Ĭhmod a+x NV* chmod a+x cuda* chmod a+x gpu* Change directory to the folder containing the downloaded files from Nvidia’s website (say ~/Downloads).Change directory to /usr/src/kernels/ and note down the complete path of the kernel folder present. Thats due to blacklisting the nouveau driver, and is a sign that we are on track! Open terminal and type the following to goto non-GUI mode (called, runlevel 3): Upon restart, you’ll see that the resolution of the display would have gone for a toss.

Sudo yum install kernel-devel gcc-c++ freeglut freeglut-devel libX11-devel mesa-libGLU-devel libXmu-devel libXi-devel gcc* compat-gcc* compat-glibc* compat-lib*

Sudo yum groupinstall ‘Development Tools’ ‘Development Libraries’ Install the Development Tools and Development Libraries group packages, and a few extra packages listed below:.For this, append the following in the line starting with ‘kernel’ in the file /etc/boot/nf:

Before installing Nvidia drivers, we need to ensure nouveau drivers dont get loaded.
