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

Last updated: November 13,2024

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

This guide covers the steps necessary to install linux-headers-5.4.0-165-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-headers-5.4.0-165-generic
Architecture: amd64
Version: 5.4.0-165.182
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14499
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-5.4.0-165, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux/linux-headers-5.4.0-165-generic_5.4.0-165.182_amd64.deb
Size: 1360024
MD5sum: e334720b4847263344fec4aaf8456bcc
SHA1: 8df5a6b02a74f8e6fd30f19255714166957c9873
SHA256: ef556be7832b18ce6e1eb83b754dd2aa43c8a0b4a57788fbedfbad4b3bf18e36
SHA512: efe3fc435e1d43b22f092bb91a4c332a00665fca8e4ff1389cb193a48b3d9e8b8a83117cebaa7adfa1781d6c4138ea44c0f1189b692f80fd1d0e1498b3c95b2a
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: 494257b5f2ec7ae49be11b3a33b1e053