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

How to completely delete and uninstall MySQL in Windows 10

Preface This article introduces a tutorial on how...

How to use custom tags in html

Custom tags can be used freely in XML files and HT...

MySql import CSV file or tab-delimited file

Sometimes we need to import some data from anothe...

Analysis of the principle of centering elements with CSS

It is a very common requirement to set the horizo...

Discussion on the way to open website hyperlinks

A new window opens. Advantages: When the user cli...

In-depth understanding of the implementation principle of require loader

Preface We often say that node is not a new progr...

How to hide the version number and web page cache time in Nginx

Nginx optimization---hiding version number and we...

Detailed explanation of three ways to set borders in HTML

Three ways to set borders in HTML border-width: 1...

Detailed explanation of the implementation of nginx process lock

Table of contents 1. The role of nginx process lo...

Detailed explanation of mysql download and installation process

1: Download MySql Official website download addre...

Detailed explanation of PHP+nginx service 500 502 error troubleshooting ideas

Overview When a 500 or 502 error occurs during ac...

JavaScript color viewer

This article example shares the specific code of ...

Vue Basics Listener Detailed Explanation

Table of contents What is a listener in vue Usage...

Kali Linux Vmware virtual machine installation (illustration and text)

Preparation: 1. Install VMware workstation softwa...

Detailed explanation of the difference between in and exists in MySQL

1. Prepare in Advance For your convenience, I cre...