ubuntu kernel compilation

ubuntu source package download:

apt-cache search linux-source

apt-get install linux-source-4.15.0

Build the compilation environment:

cd /usr/src/linux-source-4.15.0

tar -xjvf linux-source-4.15.0.tar.bz2

sudo apt-get install libncurses5-dev

sudo apt-get install libssl-dev

Compile

cp /boot/config-4.15.0-88-generic ./.config or make oldconfig

make menuconfig

make -j2

make modules_install

make install

reference:

http://cdimage.ubuntu.com/releases/

https://www.cnblogs.com/EasonJim/p/7197576.html

Recommended Posts

ubuntu kernel compilation
Centos kernel compilation configuration
Build Ubuntu 12.04 cross compilation server
Android source code compilation (ubuntu16.04 64-bit)
Ubuntu16.04 real-time kernel RT Preempt installation
ubuntu16.04 method steps to upgrade the kernel
Linux kernel compilation and CentOS system installation
Build the C++ compilation environment under ubuntu
Ubuntu software
Linux (ubuntu 12.04)