卸载内核
Tofloor
poster avatar
i8520
deepin
2019-11-03 05:47
Author
  1. #!/bin/bash
  2. #列出内核
  3. dpkg --get-selections | grep linux-image
  4. #下面是我安装的--------------------------------------------------
  5. #linux-image-deepin-amd64                                        install
  6. #linux-image-unsigned-4.15.0-30deepin-generic                install
  7. #linux-image-unsigned-5.3.0-050300rc7-generic                install
  8. #linux-image-unsigned-5.3.0-050300rc7-lowlatency            install
  9. #linux-image-unsigned-5.3.8-050308-generic                install
  10. #linux-image-unsigned-5.3.8-050308-lowlatency                install
  11. #-------------------------------------------------------------------------
  12. sudo apt-get remove linux-image-unsigned-5.3.0-050300rc7-generic
  13. sudo apt-get remove linux-image-unsigned-5.3.0-050300rc7-lowlatency
Copy the Code


Reply Favorite View the author
All Replies
avatar
longzhou
deepin
2019-12-04 06:24
#1
楼主能详细说明一下么?
Reply View the author
avatar
spencer023
deepin
2019-12-29 00:10
#2
https://bbs.deepin.org/post/184636
楼主能详细说明一下么?

找百度有更详细方法
Reply View the author
avatar
spencer023
deepin
2019-12-29 00:12
#3
remove – 卸载软件包
autoremove – 危险 卸载所有自动安装且不再使用的软件包
purge – 卸载并清除软件包的配置

所以添加purge命令更好吧
Reply View the author
Comments
wyj007ren
2020-07-30 01:28
师傅,用你的purge命令,确实没有残留。
avatar
ghostry
deepin
2019-12-29 17:55
#4
https://bbs.deepin.org/post/184636
楼主能详细说明一下么?

简单来说就是楼主装的多了要卸载掉一个.

一般用户用不到这个
Reply View the author
avatar
要讲武德
deepin
2019-12-29 21:27
#5
hazyzhou 发表于 2019-12-3 22:24
楼主能详细说明一下么?

https://segmentfault.com/a/1190000021291732
Reply View the author