How to implement Linux deepin to delete redundant kernels

How to implement Linux deepin to delete redundant kernels

The previous article wrote about how to manually install a new kernel in deepin linux. This article records how to delete unused kernels.

Use the command dpkg --get-selections| grep linux to list the currently installed kernels

For example, to uninstall Linux5.1.9, execute: sudo apt remove --purge linux-headers-5.1.9-050109

In addition to linux-header , linux-modules and linux-image-unsigned are also uninstalled

Because uninstalling linux-modules will automatically uninstall linux-image-unsigned

So just one command:

sudo apt remove --purge linux-modules-5.1.9-050109-generic

This will uninstall Linux5.1.9.

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • How to compile the Linux kernel
  • How to manually upgrade the kernel in deepin linux
  • In-depth analysis of the Linux kernel macro container_of
  • Steps to transplant the new kernel to the Linux system
  • Linux kernel device driver character device driver notes
  • Detailed explanation of Linux kernel memory management architecture
  • Linux kernel parameter adjustment method
  • Analyze the compilation and burning of Linux kernel and device tree

<<:  Analysis of problems caused by MySQL case sensitivity

>>:  A brief discussion on the magic of parseInt() in JavaScript

Recommend

Example usage of JavaScript tamper-proof object

Table of contents javascript tamper-proof object ...

MySQL 5.7 zip archive version installation tutorial

This article shares the installation tutorial of ...

How to set up the use of Chinese input method in Ubuntu 18.04

In the latest version of Ubuntu, users no longer ...

Quickly master how to get started with Vuex state management in Vue3.0

Vuex is a state management pattern developed spec...

JS Asynchronous Stack Tracing: Why await is better than Promise

Overview The fundamental difference between async...

JS operation object array to achieve add, delete, modify and query example code

1. Introduction Recently, I helped a friend to ma...

How to introduce Excel table plug-in into Vue

This article shares the specific code of Vue intr...

Use of MySQL DATE_FORMAT function

Suppose Taobao encourages people to shop during D...

How to parse the attribute interface of adding file system in Linux or Android

The first one: 1. Add key header files: #include ...

Tutorial diagram of installing mysql8.0.18 under linux (Centos7)

1 Get the installation resource package mysql-8.0...

Detailed explanation of Docker usage under CentOS8

1. Installation of Docker under CentOS8 curl http...