Please fix crappy rpm packages.

Please can someone at nvidia fix wrong pkgconfig packages.
v7.5 and 8.0 still refer to 7.0 install PATH. Poor quality


All packages impacted.
rpm -q --scripts cuda-cublas-dev-7-0
preinstall program: /bin/sh
postinstall scriptlet (using /bin/sh):
if [ -z $RPM_INSTALL_PREFIX0 ]; then
if [ -z $RPM_INSTALL_PREFIX1 ]; then
find “$RPM_INSTALL_PREFIX1” -type f -name "cu
.pc” -exec sed -i’’ -e “$SED_CMD” {} ;
By using this software you agree to fully comply with the terms and conditions of the EULA (End User License Agreement). The EULA is located at /usr/local/cuda-7.0/doc/EULA.txt. The EULA can also be found at If you do not agree to the terms and conditions of the EULA, do not use the software.”
preuninstall program: /bin/sh
postuninstall program: /bin/sh

=> THIS SCRIPT IS JUST PLAIN WRONG! If you install it AFTER higher version (for e.g. compatibility issues), then the postinstall WILLL CRASH all pkgconfig newer version.

SO UGLY to update a file that way instead of doing so at build stage…
Took time to figure out what was wrong in my files while the problem was in a quick and dirty hack in a postinstall scriptlet.

Need to reinstall 7.5 package to build 7.5 exe and then reinstall 8.0 packages to build 8.0 linked exe. (or manually fix alll .pc files…)

I agree. There are numerous problems. 8.0 package did not replace 7.5 driver, but when you build against 8.0 libcudart, it refuses to talk to the driver. Nice.

So I go to the driver download page. I download a run file to install the 8.0 driver. It refuses to run because (wait for it) I’m running an X server. Well, doggone it! I don’t want it to replace my X server, but OK, what do I do about it? It tells me to look in the readme file on the driver download page. So I go to the driver download page, and there is no readme file there. So I click on the “chat now” link to let them know that. And it connects me to a very nice person who tells me I have to come over here to ask a GPU-related question. That’s fine, I have no problem with that. But if that’s the case, get rid of the chat now button, please, and please don’t send me to a web page to get a readme file that is not posted there. :) OK?

Also, 8.0 and 7.5 both replace your X server, and this DESTROYS QT Creator v5.x :(

The 8.0 package will replace the 7.5 driver if you use the correct package and follow the instructions in the linux install guide:

I think the other points you raise have also been raised in your other post, which I responded to.

It certainly did not do that in my case. I clicked to the exact distribution I am using Linux 64 bit OpenSuse 13.2. It left the 7.5 driver on there. That’s all I know. Undoubtedly I did something wrong. :)