Created
June 30, 2020 05:18
-
-
Save frankmanzhu/be1a61f9e148d9b9f6adc5f98c295062 to your computer and use it in GitHub Desktop.
Compile kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install libncurses-dev flex bison libssl-dev wget | |
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.1.tar.xz | |
cd linux-5.1 | |
cp /boot/config-$(uname -r) .config | |
make oldconfig | |
make -j 8 | |
sudo make modules_install -j 8 | |
sudo make install -j 8 | |
sudo update-grub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment