I just accidentally deleted /usr/local/cuda and /usr/local/cuda-8.0 in CentOS when I tried to reinstall cuda toolkit. Now I tried to install cuda toolkit again, but I found that /usr/local/cuda seems to disappear forever. Is there any way to save this?
I’m new to linux, so if there is any information I have to provide, please let me know. Thanks in advance.
The following is the console result when I tried to run “yum install cuda”. It seems cuda was successfully installed, but /usr/local/cuda-8.0 didn’t appear.
[root@Linux1 CYH]# yum install cuda
Loaded plugins: aliases, changelog, fastestmirror, kabi, presto, refresh-packagekit, security, tmprepo, verify, versionlock
Loading support for CentOS kernel ABI
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: ftp.isu.edu.tw
* epel: ftp.riken.jp
* extras: ftp.isu.edu.tw
* updates: ftp.isu.edu.tw
Resolving Dependencies
--> Running transaction check
---> Package cuda.x86_64 0:8.0.61-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================
Package Arch Version Repository Size
=============================================================================================================
Installing:
cuda x86_64 8.0.61-1 cuda 5.7 k
Transaction Summary
=============================================================================================================
Install 1 Package(s)
Total download size: 5.7 k
Installed size: 0
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 5.7 k
cuda-8.0.61-1.x86_64.rpm | 5.7 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : cuda-8.0.61-1.x86_64 1/1
Verifying : cuda-8.0.61-1.x86_64 1/1
Installed:
cuda.x86_64 0:8.0.61-1
If there is any information I should provide, please let me know. Thank you.
Well I’m not sure what the problem is. The package manager is getting confused, somehow.
Another option is to switch to the runfile installer method. Be sure to fully remove and clean out the package manager install using the instructions I already linked, then download the runfile installer from [url]http://www.nvidia.com/getcuda[/url] and follow the instruction in the guide for a runfile install.
Just asking, is it necessary to reboot if I use runfile installer (as the instruction suggests)? Since I am actually using teamviewer to control the computer remotely, if I have to reboot the computer, I will have to use the computer in directly, which is not convenient for now.