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

Last updated: November 27,2024

1. Install "linux-headers-5.11.0-40-generic" package

This guide let you learn how to install linux-headers-5.11.0-40-generic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-headers-5.11.0-40-generic

2. Uninstall "linux-headers-5.11.0-40-generic" package

This guide let you learn how to uninstall linux-headers-5.11.0-40-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-headers-5.11.0-40-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-headers-5.11.0-40-generic
Architecture: amd64
Version: 5.11.0-40.44~20.04.2
Priority: optional
Section: devel
Source: linux-hwe-5.11
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 26415
Provides: linux-headers, linux-headers-3.0
Depends: linux-hwe-5.11-headers-5.11.0-40, libc6 (>= 2.22), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/l/linux-hwe-5.11/linux-headers-5.11.0-40-generic_5.11.0-40.44~20.04.2_amd64.deb
Size: 2477192
MD5sum: 8ec86d9c35fb0a1965da17749ed5dc7d
SHA1: 9f18159a1814666f971406a38ed5af61ab91ed27
SHA256: 1953bc884513ec840c399d54a5007b15979a3c564927f9527b28c4b99842af11
SHA512: 9a7dcd429453156823f0fded5d6a04f0127fd04b7772e95794befac1606850883c79bbf460849f3b4c227f788e5d6dcddc22cd420f6ed209aafbd1c46f2018f8
Description: Linux kernel headers for version 5.11.0 on 64 bit x86 SMP
Description-md5: 335bd678115a7d60637c95c61661701d