Install 4.19.x Kernel on Debian 8

Updated on October 23, 2019
Install 4.19.x Kernel on Debian 8 header image

To upgrade your kernel to 4.19.x on Debian 8 you can use the Vultr Debian Repo. This repo contains a regularly updated version of the 4.19.x kernel. To install this copy and paste the following block of code into your PuTTY or SSH client window when logged into the server and hit enter. This will automatically install the required packages, the gpg key, the repo, the kernel and headers, then remove the old kernel for you. Afterwards reboot the server and you will be on the new kernel.

echo '

# Add GPG Key
wget -O - -q | apt-key add - 

# Add Vultr Kernel Repo
echo deb jessie main >> /etc/apt/sources.list

# Install Vultr 4.19 Kernel
apt-get install -t jessie linux-image
apt-get install -t jessie linux-headers

# Remove old kernel
apt-get autoremove -y
rm -f /root/
' > /root/
chmod +x /root/