Home > Operation and Maintenance > Linux Operation and Maintenance > How to uninstall unused old kernel in Linux deepin

How to uninstall unused old kernel in Linux deepin

藏色散人
Release: 2020-06-15 13:55:21
forward
2995 people have browsed it

The following column linux tutorial will introduce to you how to uninstall the unused old kernel in Linux deepin. I hope it will be helpful to those in need!

How to uninstall unused old kernel in Linux deepin

First list the currently installed kernels

dpkg --get-selections| grep linux
Copy after login

How to uninstall unused old kernel in Linux deepin

##For example, if you want to uninstall linux5.1.9, execute the command:

sudo apt remove --purge linux-headers-5.1.9-050109

How to uninstall unused old kernel in Linux deepin

In addition to linux-header, you also need to uninstall linux-modules and linux-image -unsigned

Command:

sudo apt remove --purge linux-modules-5.1.9-050109-generic
Copy after login
This will uninstall the 5.1.9 kernel.

For more Linux technical articles, please visit

linux use Tutorial column!

The above is the detailed content of How to uninstall unused old kernel in Linux deepin. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template