Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to use deepin to delete redundant kernels in Linux

Shulou Source: shulou.com Published: 2022-06-01 21:24:06 11月15日 Update

How to use deepin to delete redundant kernels in Linux? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

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

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

In addition to linux-header, it also includes linux-modules and linux-image-unsigned, which are uninstalled together.

Because uninstalling linux-modules automatically uninstalls linux-image-unsigned as well

So all you need is one command:

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

This uninstalls the Linux5.1.9.

What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.

This is the answer to the question about how to use deepin to delete redundant kernels in Linux. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Tags: Kernel system problem operating system command more help answer easy free easy task content just at the same time guys buddies tools tools applications Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MariaDB Shulou Information Microsoft Apple