Reputation: 611
I am trying to install Cuda 6.0 in my Ubuntu 14.04 laptop, but it keeps throwing my the following error:
Error: unsupported compiler: 4.8.2. Use --override to override this check.
Which gcc version should I have for this?
Upvotes: 4
Views: 10108
Reputation: 3061
use this command to install Cuda:
sudo ./cuda_6.0.37_linux_64.run -toolkit -samples -silent -override
Upvotes: 6
Reputation: 152143
Read the documentation
Ubuntu 14.04 is not a supported distribution for CUDA 6.0, niether is gcc 4.8.2
Which gcc version should I have for this?
You should have gcc version 4.8.1 (or older) for CUDA 6.
I recommend installing CUDA 6.5RC instead (available for download to registered developers), for which Ubuntu 14.04 is a supported distro, along with its default version of gcc.
Upvotes: 3