Linux Kernel 5.4 on Debian 10

If you are running a vanilla install of Debian 10, you may know that the Linux Kernel version is 4.19 out of the box. While this kernel is certainly not old, if you are running on a newer laptop or netbook, you may want to go with a newer Kernel to support your hardware. In this tutorial we are going to detail the steps required to install Linux Kernel 5.4 from the Buster Backports repository. At the time of writing, the latest version in the Buster Backports repo is 5.4.

#!/bin/bash

# add backport sources to the end of the file
echo "deb http://ftp.us.debian.org/debian/ buster-backports main" >> /etc/apt/sources.list
echo "deb-src http://ftp.us.debian.org/debian/ buster-backports main" >> /etc/apt/sources.list

# update apt and install kernel 4.16
apt update ; apt install -t buster-backports linux-image-amd64
Did you find this article useful? Why not share it with your friends?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.