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

Last updated: September 22,2024

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

Here is a brief guide to show you how to install linux-headers-5.4.0-159-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

This tutorial shows how to uninstall linux-headers-5.4.0-159-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-headers-5.4.0-159-generic
Architecture: amd64
Version: 5.4.0-159.176
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14483
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-5.4.0-159, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux/linux-headers-5.4.0-159-generic_5.4.0-159.176_amd64.deb
Size: 1348296
MD5sum: bdfc9784cd973abcf906ed1cac6a1a2c
SHA1: f26a4140752290572979e1306bc7036c233af991
SHA256: d5c6f2d305736a266f4f9414fef9a1990a8d692b13be22892366f3a451214a6e
SHA512: 300a18a330b079d898758b2ea04f042ea4338c0ac9556f1528d6c6e43885943b3dcd95af7e0e0bd979eb8d3c263d960236d3d2d45f4cc81cb1e92f58fd8755c6
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: c3f2eeea43bef5c86eb8180b8b4929a7