sábado, 9 de abril de 2016

How to get the linux kernel source code

Alright I had stolen this from somewhere but it is useful

How to get all kernel versions source code

Clone the kernel's git repository and check out the version you want based on its tag. Remember that most Linux distributions apply own patches to the vanilla kernel source.

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
cd linux
git checkout v2.6.36.2

or

git checkout v3.5.2

To update your repository to include all of the latest tags and commits:

git fetch

Enjoy!
P.S. What does star represent on most of the National Flags?

No hay comentarios:

Publicar un comentario