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

Last updated: December 27,2024

1. Install "linux-headers-5.19.0-42-generic" package

This guide let you learn how to install linux-headers-5.19.0-42-generic on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install linux-headers-5.19.0-42-generic

2. Uninstall "linux-headers-5.19.0-42-generic" package

Please follow the steps below to uninstall linux-headers-5.19.0-42-generic on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove linux-headers-5.19.0-42-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-headers-5.19.0-42-generic
Architecture: amd64
Version: 5.19.0-42.43~22.04.1
Priority: optional
Section: devel
Source: linux-hwe-5.19
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27377
Provides: linux-headers, linux-headers-3.0
Depends: linux-hwe-5.19-headers-5.19.0-42, libc6 (>= 2.34), libelf1 (>= 0.144), libssl3 (>= 3.0.0~~alpha1), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/l/linux-hwe-5.19/linux-headers-5.19.0-42-generic_5.19.0-42.43~22.04.1_amd64.deb
Size: 3397978
MD5sum: c4c980000086cf0924e0b937f7166bcf
SHA1: 320485ff8e1f0fe9d1d8adf72ac995bfda24733e
SHA256: bf459cc63c974731201441d81949c6cd5d32b79be549066cca368463bacbe2cb
SHA512: 2842c5ce3deb7df1a6efb885eb8ff9aabfa02e3f7125c0e14ca02a7b5e0db4338d8adf9877766ea0ab75f716da531801376aa9302f6a2e22458a6cc07e564bf4
Description: Linux kernel headers for version 5.19.0 on 64 bit x86 SMP
Description-md5: 318fd1d6c36d9e7c4c2ee75520b58936