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

Last updated: December 28,2024

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

Please follow the step by step instructions below to install linux-headers-5.4.0-162-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-headers-5.4.0-162-generic
Architecture: amd64
Version: 5.4.0-162.179
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14498
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-5.4.0-162, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux/linux-headers-5.4.0-162-generic_5.4.0-162.179_amd64.deb
Size: 1362680
MD5sum: b05124ff559c8ee1595fb0e15cdde8df
SHA1: 300450e5c1092c4a1d0c1d1f28be7ab6ea427ef6
SHA256: 7ef79ab386b7b1b2bc47ec0dd92fc1995a853592ae2bd7a8cca03f834061a7fe
SHA512: d0f73d5a0d2b0d5f12fa784dc24f606cfc9f1ad38fc47fa92c1d80d6d608b6b05bfd26d23977d1e80c86cc3f1b6593b38d900f0f270084c1a3e4957ab6627271
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: a64d83882e196a98c31698cabcf78533