Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

Best

-user2275987

share|improve this question
    
My mistake -- if you never had alternatives set up in the first place, of course attempting to remove alternatives will result in an error since there are no alternatives to remove. –  user2275987 Jan 21 at 23:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.