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

Last updated: November 23,2024

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

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

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

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

This is a short guide on how to uninstall linux-headers-5.4.0-122-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-headers-5.4.0-122-generic
Architecture: amd64
Version: 5.4.0-122.138
Priority: optional
Section: devel
Source: linux
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 14683
Provides: linux-headers, linux-headers-3.0
Depends: linux-headers-5.4.0-122, libc6 (>= 2.14), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0)
Filename: pool/main/l/linux/linux-headers-5.4.0-122-generic_5.4.0-122.138_amd64.deb
Size: 1385424
MD5sum: 8eb9aa555fc17f3242b48abdf1ea4dac
SHA1: b4f7d5bf807bd19b78ccc2b510697514f28d1553
SHA256: 38c26df3d3293d4fe165d82fe8358f9a9bf5c8aa8fff8aed8eb240861624fc6f
SHA512: aa464d6bb5390fa46d115ec94fb452b3fef5c1e07f46303bdc9950c24a9ccf1d612af144b64a97f004c82822ffe1937a70f3699105aabd15962184cec42ceb64
Description: Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
Description-md5: 1fc83fe44173be72797218a0ce799934