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

Last updated: November 23,2024

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

In this section, we are going to explain the necessary steps to install linux-headers-5.4.0-125-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

Please follow the step by step instructions below to uninstall linux-headers-5.4.0-125-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-headers-5.4.0-125-generic
Architecture: amd64
Version: 5.4.0-125.141
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14696
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-5.4.0-125, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux/linux-headers-5.4.0-125-generic_5.4.0-125.141_amd64.deb
Size: 1380764
MD5sum: cc6e51f5fc5803ead64bee74253407f6
SHA1: 223cfd64d3962df238661b26c4aea8b8fe3cb6f5
SHA256: 352b758ff7d7cfd0c41d15b9df6e93cff67e34a149fb1a2ae07618c9ef55285b
SHA512: 0ab5dfbf9d0e68301d337ba5bf493e11eff6ece5c2d1ec8f3111c114d599760e950da644ec6e32c42719a6437fd5424eeb516a65fe09bee5e00403c9b149e8ba
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: 8da94c6e3831800004b2b075a43dddb9