Wednesday, August 6, 2014

Installing CUDA in Ubuntu

Note : Following steps work for Ubuntu 12.04 32 bit, and Cuda 6, for GPU Enabled PC.


Step 1 : Download appropriate .run file from https://developer.nvidia.com/cuda-downloads

Step 2 : Go to command mode by Cntl+Alt+F1

Step 3 : go to temp folder cd /tmp

Step 4 : delete all visible and invisible files

To view invisible files : ls - a, list them it is ls - l and for removing them command is rm -r *  and for removing other files don't forget to delete dot extended files which are not deleted by simple rm -r *, using extra command rm -r .* .

Step 5 : To run the .run extension, goto location , i.e cd ~/Downloads.
Give necessary permission by chmod 777 file.run followed by ./file.run and go through default steps, pressing enter for default paths and keep pressing enter to read through the report untill the status bar, stows 100% and actual installation begins. If it asks for reboot, type sudo reboot and follow the steps again . . .

No comments:

Post a Comment