Can I Delete Linux Headers?
Contents Those Are Header Files Are Contained in the Linux-Headers-* and Linux-Headers-*-Generic Packages. It Should Be Safe to Remove Them Through Apt-Get...
Contents
Those are header files are contained in the linux-headers-* and linux-headers-*-generic packages. It should be safe to remove them through apt-get.
How do I delete all unused Linux kernel headers?
The procedure to delete all unused old kernels on Ubuntu Linux version 18.04 and 20.04 LTS is as follows:
- First, boot into a new kernel.
- List all other older kernel using the dpkg command.
- Note down system disk space usage by running the df -H command.
- Delete all unused old kernels, run: sudo apt –purge autoremove.
21 февр. 2021 г.
How do I remove unused Linux kernels?
Remove All Old Kernels Using the Command Line
The system scans for unused kernels and displays a summary of the files it wants to delete. It prompts you to confirm your choice to remove old kernels by pressing y and Enter to delete.