Linux Kernel Development Environment
Last updated
Last updated
So, you want to learn how to become a Linux kernel developer? Or you have been told by your manager, “Go write a Linux driver for this device.” HOWTO do Linux kernel development
3 Linux Kernel Source Code Repositories
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
https://github.com/torvalds/linux
git@github.com:torvalds/linux.git
Tar.Gz
root@workstation:~# apt-get update
root@workstation:~# apt-get upgrade
root@workstation:~# apt-get install linux-headers-$(uname -r) kernel-package libncurses5 libncurses5-dev git libelf-dev
user@workstation:~$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Cloning into 'linux'...
remote: Counting objects: 5396825, done.
remote: Compressing objects: 100% (2538/2538), done.
remote:
user@workstation:~$ cd linux
user@workstation:~/linux$
user@workstation:~/linux$ ls
arch crypto init MAINTAINERS net System.map
block Documentation ipc Makefile README tools
built-in.o drivers Kbuild mm samples usr
certs firmware Kconfig modules.builtin scripts virt
COPYING fs kernel modules.order security vmlinux
CREDITS include lib Module.symvers sound vmlinux.o
user@workstation:~/linux$