How to Install and Uninstall linux-headers-5.15.0-1040-aws Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 29,2024

1. Install "linux-headers-5.15.0-1040-aws" package

Please follow the steps below to install linux-headers-5.15.0-1040-aws on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install linux-headers-5.15.0-1040-aws

2. Uninstall "linux-headers-5.15.0-1040-aws" package

Please follow the guidance below to uninstall linux-headers-5.15.0-1040-aws on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove linux-headers-5.15.0-1040-aws $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-headers-5.15.0-1040-aws package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: linux-headers-5.15.0-1040-aws
Architecture: amd64
Version: 5.15.0-1040.45
Priority: optional
Section: devel
Source: linux-aws
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23837
Provides: linux-headers, linux-headers-3.0
Depends: linux-aws-headers-5.15.0-1040, libc6 (>= 2.34), libelf1 (>= 0.142), libssl3 (>= 3.0.0~~alpha1), zlib1g (>= 1:1.2.3.3)
Filename: pool/main/l/linux-aws/linux-headers-5.15.0-1040-aws_5.15.0-1040.45_amd64.deb
Size: 2797146
MD5sum: aa47e7468f2be3321ad51b352b311708
SHA1: 5168658c7d4ac8539f04ecf6fa3dc5eb7878d176
SHA256: 1dcd0b34ed36177f810e61b98037e6dd8c15f03ad8777a435b56471cc1ef2b1c
SHA512: 786cafb172721bb89d4efd898b170e977cc037f2971f838ae931a44bb9944041879c9a790ff94edb2bd620c7dbfe9fc6bef0e5851e8e7908872f39a2a22a1959
Description: Linux kernel headers for version 5.15.0 on 64 bit x86 SMP
Description-md5: de4ff4241940f9b8f4275aac7b542ace