Sometimes you need to install the latest and greatest kernel image on you Debian testing installation. In most cases that is to support some newer hardware piece, or to get latest features. You have two choices here: You can either compile it from sources, or you can just take it from the Debian experimental repository. There are plenty guides online on how to build you kernel from sources, so we won’t go into it. Instead i will explain how you can grab a ready build from Debian and save all this time configuring and compiling kernel source code.

This is how you can add experimental repository preferences to you Debian testing  installation, install upstream kernel and keep it up to date with apt:

  1. First let’s add preferences for experimental repository, so it would be used only when specified manually
  2. Then lets add an experimental repo to sources list
  3. update packages db
  4. search for kernel of you choice. In my case i wanted linux-image-4.4.0-trunk-arm64

    i also needed firmware-realtek, firmware-linux-nonfree and intel-microcode for hardware compatibility since i use intel core
  5. than just install every thing from experemental repo
  6. Live long and prosper

 

How to install upstream kernel on debian testing
Tagged on:             

3 thoughts on “How to install upstream kernel on debian testing

Leave a Reply

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