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

Last updated: December 27,2024

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

Please follow the step by step instructions below to install linux-headers-5.4.0-51-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

This is a short guide on how to uninstall linux-headers-5.4.0-51-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: linux-headers-5.4.0-51-generic
Architecture: amd64
Version: 5.4.0-51.56~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: 13485
Provides: linux-headers, linux-headers-3.0
Depends: linux-hwe-5.4-headers-5.4.0-51, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux-hwe-5.4/linux-headers-5.4.0-51-generic_5.4.0-51.56~18.04.1_amd64.deb
Size: 1194240
MD5sum: db8e0892ae5f27b234c046012743fb5c
SHA1: 071c2c3ff838b0561f1e9eb9921fd9dc38f04c8e
SHA256: a34ede7a28df5ffc238bfefe71316b2cf2107f0830d2cc34d314e20cda7cf0ec
SHA512: 84b24c8c878348fb19cb430ae9612d461fe3b3f93411bef6d7d477eae87255129e630d4278957af03984aadda043cddaaf464acbe42de086b8914b575b8727ae
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: 68f74e10ec9e096a2239f1edc3a925c3
Supported: 5y