Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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 removed the stock 3.8.0-19-generic kernel (and meta packages for the stock ubuntu kernel) and installed the 3.9 mainline kernel, do I need these 2 packages or can I remove them?

~$ apt-cache policy linux-libc-dev
  Installed: 3.8.0-19.29
  Candidate: 3.8.0-19.30
  Version table:
     3.8.0-19.30 0
        500 raring-updates/main amd64 Packages
        500 raring-security/main amd64 Packages
 *** 3.8.0-19.29 0
        500 raring/main amd64 Packages
        100 /var/lib/dpkg/status
~$ apt-cache policy libc6-dev
  Installed: 2.17-0ubuntu5
  Candidate: 2.17-0ubuntu5
  Version table:
 *** 2.17-0ubuntu5 0
        500 raring/main amd64 Packages
        100 /var/lib/dpkg/status
I completely removed (aka purged) all of these:
linux-generic linux-image-generic linux-headers-generic linux-image-extra-3.8.0-19-generic linux-image-3.8.0-19-generic linux-headers-3.8.0-19-generic linux-headers-3.8.0-19

share|improve this question
up vote 0 down vote accepted

You probably need them to compile drivers by using DKMS (NVIDIA proprietary drivers do that). Otherwise, you're fine.

share|improve this answer
these packages are preinstalled, on both my laptop and desktop, my laptop has no proprietary drivers nor does it have virtualbox – GM-Script-Writer-62850 May 4 '13 at 12:49
Confirmed, removing this on my desktop would remove nvidia-313-updates as well – GM-Script-Writer-62850 May 4 '13 at 20:45

No, you don't need them, unless you are going to be compiling C.

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.