Before adding the necessary library, compile the software what please Baidu.
Copy to User/src
sudo cp linux-4.0.6.tar.xz/usr/src
Enter the SRC directory:
Cd/usr/src
Next unzip
Unzip first
TAR.XZ file We enter first
sudo xz–d linux-4.0.6.tar.xz
Get the tar suffix file in the type sudo tar–xvf linux-4.0.6.tar
Decompression complete.
Access directory: CD linux-4.0.6/
Purify: Make Mrproper
Then the configuration kernel. We maintain the original kernel configuration first to understand the original kernel file name. First find the original kernel configuration file in the terminal input
Cd/boot
In the input LS as
Replication Configuration
sudo cp/boot/config-3.16.0-30-generic. config
Type
Make Menuconfig
Select Save to select Load
Back to start
Make Bzimage
Make modules
sudo make Modules_install
sudo make install
sudo update-grub
"Original" Linux compiled kernel