How to Install and Uninstall linux-headers-5.4.0-40-generic Package on Ubuntu 20.04 LTS (Focal Fossa)
Last updated: November 15,2024
1. Install "linux-headers-5.4.0-40-generic" package
Please follow the guidance below to install linux-headers-5.4.0-40-generic on Ubuntu 20.04 LTS (Focal Fossa)
$
sudo apt update
Copied
$
sudo apt install
linux-headers-5.4.0-40-generic
Copied
2. Uninstall "linux-headers-5.4.0-40-generic" package
In this section, we are going to explain the necessary steps to uninstall linux-headers-5.4.0-40-generic on Ubuntu 20.04 LTS (Focal Fossa):
$
sudo apt remove
linux-headers-5.4.0-40-generic
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the linux-headers-5.4.0-40-generic package on Ubuntu 20.04 LTS (Focal Fossa)
Package: linux-headers-5.4.0-40-generic
Architecture: amd64
Version: 5.4.0-40.44
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14014
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-5.4.0-40, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux/linux-headers-5.4.0-40-generic_5.4.0-40.44_amd64.deb
Size: 1225768
MD5sum: 4410ad812fb47afbfbfef7e1cac2c1ce
SHA1: 43ebf528d55ca1e703841e8828a6f92de7d43c1c
SHA256: 90a9c6e411552048e4ae4516eb809bfd73e610815fe8c3dc58ddc6770d904783
SHA512: fa09b8f47b28da93d2937a97538d1e29cd0646563f14fc5f5c172846546388b2b2306fac79764002743234b021f1c355e8418f375996b62b97791163ef083b7c
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: 18e876621b8a9abec022155de123eb21
Architecture: amd64
Version: 5.4.0-40.44
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14014
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-5.4.0-40, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux/linux-headers-5.4.0-40-generic_5.4.0-40.44_amd64.deb
Size: 1225768
MD5sum: 4410ad812fb47afbfbfef7e1cac2c1ce
SHA1: 43ebf528d55ca1e703841e8828a6f92de7d43c1c
SHA256: 90a9c6e411552048e4ae4516eb809bfd73e610815fe8c3dc58ddc6770d904783
SHA512: fa09b8f47b28da93d2937a97538d1e29cd0646563f14fc5f5c172846546388b2b2306fac79764002743234b021f1c355e8418f375996b62b97791163ef083b7c
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: 18e876621b8a9abec022155de123eb21