How to Install and Uninstall linux-headers-5.4.0-126-generic Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 26,2024

1. Install "linux-headers-5.4.0-126-generic" package

This guide covers the steps necessary to install linux-headers-5.4.0-126-generic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-headers-5.4.0-126-generic

2. Uninstall "linux-headers-5.4.0-126-generic" package

Please follow the guidance below to uninstall linux-headers-5.4.0-126-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-headers-5.4.0-126-generic $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-headers-5.4.0-126-generic package on Ubuntu 20.04 LTS (Focal Fossa)

Package: linux-headers-5.4.0-126-generic
Architecture: amd64
Version: 5.4.0-126.142
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14711
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-5.4.0-126, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux/linux-headers-5.4.0-126-generic_5.4.0-126.142_amd64.deb
Size: 1397824
MD5sum: f9b91aa8cd27d9153eba3d98f760aa5f
SHA1: 919870bfff8efd175bc8f0fc947cba0a5648b9b9
SHA256: f9bc531869573675d28137ac7a264dac7af9e8834d8e96cd03b9eaac09fe2b0b
SHA512: e22809f2d0e297cd4331199cf2ba46838d4182818062c78c66388be9018c0cd00f904865cc817301f077c50fe2dd6a18bcf225bdbb6c1f1ddd4cd450d9533d04
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: acd55217c15b260c177d8bd215c46923