How to Install and Uninstall linux-headers-6.5.0-21-generic Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 15,2024

1. Install "linux-headers-6.5.0-21-generic" package

In this section, we are going to explain the necessary steps to install linux-headers-6.5.0-21-generic on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install linux-headers-6.5.0-21-generic

2. Uninstall "linux-headers-6.5.0-21-generic" package

Please follow the guidance below to uninstall linux-headers-6.5.0-21-generic on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove linux-headers-6.5.0-21-generic $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-headers-6.5.0-21-generic package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: linux-headers-6.5.0-21-generic
Architecture: amd64
Version: 6.5.0-21.21~22.04.1
Priority: optional
Section: devel
Source: linux-hwe-6.5
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27442
Provides: linux-headers, linux-headers-3.0
Depends: linux-hwe-6.5-headers-6.5.0-21, libc6 (>= 2.34), libelf1 (>= 0.144), libssl3 (>= 3.0.0~~alpha1), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/l/linux-hwe-6.5/linux-headers-6.5.0-21-generic_6.5.0-21.21~22.04.1_amd64.deb
Size: 3443206
MD5sum: 1c5fbd38149d340b48c1323d0f7c5a25
SHA1: 03a6cd9d13688eb81d3abeb9ee7e147bc419b7bd
SHA256: 577216e49035c9f968b277fc2a07cb80b97e55c849ee29ca523dc825ee6a7e0d
SHA512: abb4f30ef6a743f344ce78ea2d81b07336a4fe3ff11113dad9ca7af32f1ee672375fdafa34ad120ddffd0f08aec5dacdaf55405abc784bed7451172cdb047104
Description: Linux kernel headers for version 6.5.0 on 64 bit x86 SMP
Description-md5: dbb3fc611cedb22489f9e2b4bdb142e2