Debian Stretch升级当前最新稳定版内核
Why update kernel ?
Update the kernel to new version fixed some newer hardware has no driver software, For me, My earphone has current noice. Someone tell me that is low version kernel trouble. So I search for some article and summary useful things , then I wrote this blog.
Update Linux Kernel Cookbook
Before installing a newer kernel, it’s important that we upgrade installed packages to their newer versions in the backports-repo in order to be sure that dependencies will remain unbroken.
$ sudo apt-get -t stretch-backports upgrade
After the upgrade, choose a kernel from the list and install it with apt.
$ sudo apt-cache search linux-image
Most of the installations would want the kernel without suffix. The rt-suffix stands for realtime and is mostly interesting for embedded projects or machines that will drive industrial hardware. dbg stands for debugging.
Here we chose linux-image-4.19.0-0.bpo.5-amd64 and linux-headers-4.19.0-0.bpo.5-amd64, the newest after 2019-05-18
$ sudo apt-get -t stretch-backports install linux-image-4.19.0-0.bpo.5-amd64 linux-headers-4.19.0-0.bpo.5-amd64
After the installation, reboot your system and select the newly installed kernel from the selection displayed in GRUB. Debian selects the new kernel by default.
Uninstall Linux Kernel on Debain
To check which kernels are currently installed:
$ dpkg --get-selections|grep linux-image linux-image-4.19.0-0.bpo.5-amd64 install linux-image-4.9.0-9-amd64 install linux-image-amd64 install
Uninstall the old one:
$ sudo apt-get remove linux-image-4.9.0-9-amd64
That should be all it takes in order to install a recent kernel and cleanup older kernels on a Debian system. Not so difficult as you thought probably :)
Reference:
http://jensd.be/818/linux/install-a-newer-kernel-in-debian-9-stretch-stable
https://kantor.vivaldi.net/?p=92
- Centos、Debian、Ubuntu升级最新内核并开启BBR加速
- Debian Stable (Jessie 8.8) 升级到最新的stable (stretch 9.0)
- 教你三步在CentOS 7 中安装或升级最新的内核
- centOS 新增ELRepo,升级最新内核
- 升级node.js到最新稳定版
- CentOS 6.6 升级GCC G++ (当前最新版本为v6.1.0) (完整)
- Nagios从旧的3.x版本升级到当前最新版本3.5.0
- centos6.x升级到最新内核
- Linux LTS 内核最新稳定版 4.4.4 版本发布
- Nginx升级到1.0.2最新稳定版
- Debian 7 升级内核
- Debian编译升级内核(could not load /lib/modules/2.6.28/modules.dep问题)
- Centos7 升级到最新内核版本并安装和部署Docker
- 详解如何在 CentOS 7 中安装或升级最新的内核
- 为pc编译配置安装当前最新的内核
- Debian是我用Linux当中升级内核最简单的,完全不需要编译。
- 仔细观察BBB Debian系统内核升级过程 将会明白很多
- 升级node.js到最新稳定版
- 如何升级Nginx到最新稳定版
- centos 升级内核到最新版本