How To Download Linux Kernel
Naming the best linux distribution is difficult as they are made for different.
How to download linux kernel. Linux refers to the family of unix like computer operating systems using the linux kernel. In this step we will download kernel source code by using wget command like below. This will automatically enable the optional wsl and virtual machine platform components download and install the latest linux kernel set wsl 2 as the default and download ubuntu this can be changed using wsl install d debian as an example to see a list of available linux distributions enter wsl list online. Alternatively you can download and install the kernel binaries via terminal commands open terminal via ctrl alt t. Downloading and extracting the latest kernel source.
Now install downloaded kernel packages on your system using following command. Sudo dpkg i linux headers 4 3 deb linux image 4 3 deb you can also update grub for latest kernel using following command. Gcc is most popular compiler for c and c source codes in linux environment. An operating system based on the linux kernel is called a distribution or distro. According to 1 and 2 in order to get a kernel as newer as possible in a most convenient way you should install linux signed generic lts xxx e g linux signed generic lts xenial or unsigned version linux generic lts xxx e g linux generic lts xenial for ubuntu before lts 16 04 even prefer to install the newer linux signed generic hwe 16 04 or even more.
How to install latest linux kernel on ubuntu. Current stable version of the linux kernel is 4 17 6. Download kernel 5 7 select generic for common system and lowlatency for a low latency system e g. To check your current kernel version open the terminal and type. The mainline kernel packages for linux 5 7 64 bit only are now available for download at the link below.
You will also need up to at least 12 gb of free space on disk an internet connection to download the source code and a lot of time about 45 to 90 minutes.