cannot see files installed by a package (cuda)
Posted: 2018/05/07 04:16:21
long story short, I did something wrong while trying to upgrade CentOS 6.7 to CentOS7.0,
and recovered things(it's now 6.9), vnc etc. now I can do normal things as before.
This morning, I tried to compile a program which I had no problem with,
but couldn't do it with message the linker cannot understand -lcuda option.
So I reinstalled cuda using these commands as shown in CUDA manual.
`sudo rpm -i cuda-repo-rhel6-7-5-local-7.5-18.x86_64.rpm`
`sudo yum clean all`
`sudo yum install cuda`
But the problem still persisted.
I expected libcuda.so.... to have been installed somrewhere (like /usr/local/cuda/lib64)
but it was not there.
rpm -qa shows I have many cuda packages including cuda-7.5-18.x86_64.
So I wanted to see what files have been installed by that package.
repoquery --list cuda-7.5-18.x86_64
shows nothing. rpm -ql cuda-7.5-18.x86_64 shows either nothing.
What can be wrong?
and recovered things(it's now 6.9), vnc etc. now I can do normal things as before.
This morning, I tried to compile a program which I had no problem with,
but couldn't do it with message the linker cannot understand -lcuda option.
So I reinstalled cuda using these commands as shown in CUDA manual.
`sudo rpm -i cuda-repo-rhel6-7-5-local-7.5-18.x86_64.rpm`
`sudo yum clean all`
`sudo yum install cuda`
But the problem still persisted.
I expected libcuda.so.... to have been installed somrewhere (like /usr/local/cuda/lib64)
but it was not there.
rpm -qa shows I have many cuda packages including cuda-7.5-18.x86_64.
So I wanted to see what files have been installed by that package.
repoquery --list cuda-7.5-18.x86_64
shows nothing. rpm -ql cuda-7.5-18.x86_64 shows either nothing.
What can be wrong?