Where can I get the exact source code of linux kernel version 3.5.0-17-generic which is shipped with Ubuntu 12.10 ?

  • 12.10 went end of life and so the software got moved to archives. We only support questing regarding current releases. The kernel source code from the Ubuntu repositories through "apt-get" is no longer available. You can find old releases here: old-releases.ubuntu.com/ubuntu/dists but will have to manually download the files. – Rinzwind Aug 6 '15 at 7:24
  • @Rinzwind on the link old-releases.ubuntu.com/ubuntu/dists/quantal I dont see anything that looks like a kernel source, which files to download then ? – bawejakunal Aug 6 '15 at 7:36

If you are looking to just get the sources to the kernel that you are currently running you can:

apt-get source linux-image-$(uname -r)

source code for all ubuntu releases http://kernel.ubuntu.com/git/

Please check this https://launchpad.net/ubuntu/+source/linux/3.5.0-17.28 the source code and the patches are available here available here. If you want generic source code then better look for it on kernel.org.

  • Either he is running 12.10 and apt-get will error out (12.10 is EOL) or he will get either 12.04, 14.04 or 15.04 and that is not what he is asking. The last bit is a way to go though :) – Rinzwind Aug 6 '15 at 7:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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