CUDA toolkit package manager installation failed :: Fedora 18

Hi all,

I tried to install Cuda toolkit and I m getting the following error


yum install cuda


Transaction Check Error:
file /usr/share/man/man1/nvidia-xconfig.1.gz from install of nvidia-xconfig-319.37-27.fc18.x86_64 conflicts with file from package xorg-x11-drv-nvidia-1:319.60-1.fc18.x86_64
file /usr/bin/nvidia-settings from install of nvidia-settings-319.37-30.fc18.x86_64 conflicts with file from package xorg-x11-drv-nvidia-1:319.60-1.fc18.x86_64
file /usr/share/applications/nvidia-settings.desktop from install of nvidia-settings-319.37-30.fc18.x86_64 conflicts with file from package xorg-x11-drv-nvidia-1:319.60-1.fc18.x86_64
file /usr/share/man/man1/nvidia-settings.1.gz from install of nvidia-settings-319.37-30.fc18.x86_64 conflicts with file from package xorg-x11-drv-nvidia-1:319.60-1.fc18.x86_64

Error Summary

Please suggest.

Thanks & Regards,
Nirmal J

Hi Nirmalj,
There are a couple of ways to circumvent this conflict.

You could remove the 319.60 installation and use the driver from the CUDA repository:
yum remove “nvidia*”
yum install cuda

You could stick with the 319.60 installation and install components of the toolkit individually (the following should install the toolkit components):
yum install cuda-documentation-5-5 cuda-visual-tools-5-5 cuda-misc-5-5

The issue here is that the “cuda-5-5” package, which is a direct dependency of the “cuda” package, depends on the nvidia-{xconfig,settings} packages which were integrated into the xorg-x11-drv-nvidia package. In the future, we’ll be providing a cuda-drivers and cuda-toolkit package to separate the two and allow users to easily use a different driver from a separate repository, along with the CUDA Toolkit from the CUDA repository.

Thanks a lot Andy.

I followed the second option and installation completed successfully.

I could compile the sample program for vector addition. But I am getting the following error when trying to Run.

“error code CUDA driver version is insufficient for CUDA runtime version”.

I think this is because of the wrong driver version being used.
Could you please help me to solve this.

I m using
Nsight Eclipse Edition, Version: 5.5.0.
Operating System : Linux-x86_64
NVIDIA Driver Version : 319.60