Last active
January 16, 2019 00:21
-
-
Save alex700/e8b4df966d4ca8689bf7e5e989390933 to your computer and use it in GitHub Desktop.
Download and install linux 4.19 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
#!/bin/bash | |
# | |
# Install linux kernel 4.19 | |
# | |
# To check last available dep's visit https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/ | |
# | |
## | |
rm -rf linux-*; | |
KERNEL_DIR="http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.19/"; | |
file[0]="linux-headers-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb" | |
file[1]="linux-image-unsigned-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb" | |
file[2]="linux-image-unsigned-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb" | |
file[3]="linux-modules-4.19.0-041900-generic_4.19.0-041900.201810221809_amd64.deb" | |
for (( i = 0 ; i < ${#file[@]} ; i++ )) | |
do | |
wget -c "${KERNEL_DIR}/${file[$i]}" | |
done | |
sudo dpkg -i *.deb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment