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

最新文章

  1. Node.js开发者最常范的10个错误
  2. ios 使用可视化工具charles转换pcap文件,进行流量统计(通过tcpdump抓包)
  3. hihoCoder #1246 : 王胖浩与环 (数学)
  4. OpenJudge计算概论-配对碱基链
  5. c++ 在客户端的GCC使用
  6. HDU 1561-The more, The Better(树状背包)
  7. linux学习: sudo命令(ubuntu)
  8. js 鼠标事件
  9. poj 2553 强连通
  10. [C#]Winform后台提交数据且获取远程接口返回的XML数据,转换成DataSet
  11. C/C++筛选法算素数
  12. 关于for循环里面异步操作的问题
  13. 数据流中的第k大元素的golang实现
  14. struts2_模型驱动
  15. Jmeter-测试计划,线程组,取样器,逻辑控制器,断言和监听器
  16. SQL Server 2016新特性:Temporal Table
  17. One Technical Problem: Can one process load two different c libraries simutaneously, such as uclibc and glibc?
  18. nginx的安装 、Nginx默认虚拟主机、nginx用户认证、nginx 域名重定向
  19. SQL MAP 注入测试
  20. 深度学习-Caffe中启用MatlabSupport编译出错的解决方案

热门文章

  1. c# 读数据库二进制流到图片
  2. 易语言网页登录 POST
  3. java随机数获取
  4. pg 数据库操作
  5. js提取DOM属性和设置DOM属性值
  6. Comet OJ 夏季欢乐赛 篮球校赛
  7. 实现:笑脸_Crack
  8. [BZOJ2667][cqoi2012][kcoj]模拟工厂
  9. java 的守护进程脚本
  10. Educational Codeforces Round 78 (Rated for Div. 2) C - Berry Jam(前缀和)