How to Install and Uninstall linux-headers-5.4.0-40-generic Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 27,2024

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

Please follow the steps below to install linux-headers-5.4.0-40-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

Please follow the guidance below to uninstall linux-headers-5.4.0-40-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the linux-headers-5.4.0-40-generic package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: linux-headers-5.4.0-40-generic
Architecture: amd64
Version: 5.4.0-40.44~18.04.1
Priority: optional
Section: devel
Source: linux-hwe-5.4
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 13408
Provides: linux-headers, linux-headers-3.0
Depends: linux-hwe-5.4-headers-5.4.0-40, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux-hwe-5.4/linux-headers-5.4.0-40-generic_5.4.0-40.44~18.04.1_amd64.deb
Size: 1349208
MD5sum: 4d0e2a95ab0c3974ffdd866c231a2b73
SHA1: c19d46fe9237157a7ba5639b0fae248b2ccb607c
SHA256: ca7f4694a559456d533eb6aa22218b084bb8196213afc2b99302b60a5b96d3ef
SHA512: 129511e6aee46eec23085807e3d74908ac373b5fcbe02ac53c1842fb5fd6391f62d55af824e5f371bc4a6486e319a4418710f421cc512d59329556b73db6ff32
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: 35274b30d91c867cf42d8af11ed5b75c
Supported: 5y