Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried the following command but it's not working:

apt-get source linux-image-$(uname -r)
share|improve this question
Post any error messages you're getting exactly. – LawrenceC Jul 7 '13 at 11:32
invalid operation source image 3.5.0-23-generic – james Jul 7 '13 at 11:43
Read man apt-get - the second word in the command needs to be something like install IIRC. – LawrenceC Jul 7 '13 at 12:37
@ultrasawblade SOurce is an operation to downlload the source – w4etwetewtwet Jul 7 '13 at 13:07

The most likely reason is that you do not have source URIs in your /etc/apt/sources.list. You should add a line like this (adapt it to your specific Ubuntu version):

deb-src raring main restricted

Then run sudo apt-get update and try installing the sources again.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.