How do I uninstall CUDA 3.1 Developer Drivers?

I installed the drivers in this package (thinking I needed them for a program that was complaining about not being able to find libcudart.dylib):…1.10_macos.dmg

This package didn’t do what I needed it to, so now I’d like to completely uninstall it. However, there are no instructions on what the package actually installs.

Can someone tell me how to remove this from my system (Mac OS X 10.6.4)? Thanks!

This seems to remove everything that got installed:

sudo kextunload /System/Library/Extensions/CUDA.kext

cd /Library/Frameworks/

sudo rm -rf CUDA.framework

cd /System/Library/Extensions/

sudo rm -rf CUDA.kext

cd /Library/LaunchAgents/

sudo rm -rf com.nvidia.CUDASoftwareUpdate.plist 

cd /Library/PreferencePanes/

sudo rm -rf "CUDA Preferences.prefPane/"

cd /System/Library/StartupItems/

sudo rm -rf CUDA

cd /usr/local/

sudo rm -rf cuda