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

Last updated: November 24,2024

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

Learn how to install linux-headers-5.4.0-120-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

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

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

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

Package: linux-headers-5.4.0-120-generic
Architecture: amd64
Version: 5.4.0-120.136~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: 13999
Provides: linux-headers, linux-headers-3.0
Depends: linux-hwe-5.4-headers-5.4.0-120, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux-hwe-5.4/linux-headers-5.4.0-120-generic_5.4.0-120.136~18.04.1_amd64.deb
Size: 1317880
MD5sum: c5415c915712d6f7e34287fbcc7590d6
SHA1: ca7bd58c090dbac3bbb369d5031d118a8b97ab2e
SHA256: ab924aa1e00f41e0ce6bc0bc9e0e3a6c4e3812abe2931f3da4ee42d3b192051d
SHA512: 1c13ea22de2ffc1962d6ced8c179f8ef601897165c90d56ce23ef5b1582f94bdfaa2793bc33439aed9e041fe4e7e1eaf7d0755db9d2ccf4cb774d5902178980f
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: 0417ecc9008308b225acb0a67d97151b
Supported: 5y