Linux Kernel Compilation

Download the Kernel from

 Find out The kernel Version

 Find out the Operating System Version

 Extract the Using Command or GUI

Open the terminal and change the directory to the Linux kernel source code.
cd linux­3.18.1

sudo apt­get update

sudo apt­get install libncurses5­dev
 Configure the kernel:

sudo make menuconfig
Make the configuration changes as per your requirements.
Check the number cores in CPU
 The compilation process can be shifted to all the cores of the system (2 cores or 4 cores).

sudo make ­j2

After completion of the process, install the modules.
sudo make modules_install install
Restart your system manually or type:
sudo reboot
After restart, check the Linux kernel version:
 – uname ­r