Im on Ubuntu 13.10 and need gcc 4.6 to install cuda 5.5. Im following these instructions (top answer) Anyone has successfully installed CUDA 5.5 on Ubuntu 13.10 64-bit? but am runnning into trouble with the update-alternatives command. I have the current gcc on my computer and I installed (sudo apt-get install) gcc-4.6, but when I run
sudo update-alternatives --remove-all gcc
I just get the error
update-alternatives: error: no alternatives for gcc
However, looking around online it seems like the --remove-all command is the solution to the error message I am getting... so Im having difficulty fixing it. If anyone could tell me what Im doing wrong I would greatly appreciate it.