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