Linux kernel official mirror

Posted on 2011/10/02

0


Recently the main Linux website, kernel.org, was compromised by an hacking attack. Since then, Linus Torvalds decided to use GitHub as the master repository for the whole kernel (here the announcement), and kernel.org has been down for a long time.

This has broken some of my old tutorials on this blog. In my tutorials, I tend to give indication to download a specific version of the kernel, to have repeatable results. All those links point to kernel.org file server which is currently down for maintenance. The alternative way to download a specific Linux version is:

  • Go to https://github.com/torvalds/linux
  • Select “Switch Tags” on the top toolbar.
  • Select the kernel version (for example 3.0).
  • Click the “Download” button on the left.
  • Click “Download .tar.gz”

The downloaded file will have a name such as “torvalds-linux-3.0-...tar.gz” which is basically the same as the tarballs you could download from kernel.org. Another shortcut is to construct an URL in this way: “https://github.com/torvalds/linux/tarball/v3.0” where you can substitute “v3.0” with the version you want to download; it’s easier to integrate with command line tools such as wget.

I won’t change the links of my old blog posts since kernel.org could go back online soon, but in the meantime downloading from GitHub works as well.

Posted in: Software