0

Where to get Ubuntu Linux kernel source package from? Not a Debian package. Is there any repository which has tar/bz2 package of complete kernel sources of every version release.

3
  • 1
    Just simple run apt-get source linux, you will get original tarball + debianization.
    – 0andriy
    Aug 18 '17 at 15:23
  • 1
    @0andriy You could post your comment as additional answer.
    – Byte Commander
    Aug 19 '17 at 15:32
  • @ByteCommander, it's already been marked as duplicate to the same answer. Moreover, reading again the question I think it's actually not a duplicate of that since OP asks about Git or alike repos, which first answer here suits.
    – 0andriy
    Aug 21 '17 at 16:30
3

There is a git repository for Ubuntu kernels.

It is http://kernel.ubuntu.com/git/ubuntu/

To get sources using git run

git clone git://kernel.ubuntu.com/ubuntu/ubuntu-xenial.git

For instance you can get Ubuntu 16.04 kernel sources from http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git

17.04 sources are at http://kernel.ubuntu.com/git/ubuntu/ubuntu-zesty.git

-2

The answer to your question, you can find the Linux Kernel Archives at the following site.

https://www.kernel.org/

You can download the tarball.

3
  • For Ubuntu? Are you sure?
    – 0andriy
    Aug 18 '17 at 15:24
  • @0andriy, would you please enlight me is there any Ubuntu Linux kernel source package available? Would you elaborate your question? You mean to say Ubuntu Linux kernel is different than main stream Linux kernel?
    – LethalProgrammer
    Aug 19 '17 at 11:38
  • 3
    Yes, it's different. It has tons of patches on top of vanilla version.
    – 0andriy
    Aug 19 '17 at 15:07

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