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

Last updated: November 26,2024

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

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

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

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

This is a short guide on how to uninstall linux-headers-5.15.0-1040-nvidia on Ubuntu 22.04 LTS (Jammy Jellyfish):

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

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

Package: linux-headers-5.15.0-1040-nvidia
Architecture: amd64
Version: 5.15.0-1040.40
Priority: optional
Section: devel
Source: linux-nvidia
Origin: Ubuntu
Maintainer: Ubuntu Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 24388
Provides: linux-headers, linux-headers-3.0
Depends: linux-nvidia-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-nvidia/linux-headers-5.15.0-1040-nvidia_5.15.0-1040.40_amd64.deb
Size: 3436388
MD5sum: b54e379bdae0edb3b57cb9a342d781e9
SHA1: ebedb9d48050128fa96f92119395315b3a0e78ae
SHA256: 0ce07cc2aabd0943236cde15a063c0222f8dab87d41ac277930380f515fe75ee
SHA512: 602f62c84227e5879220341684176e83531fc536b161d438aefbd8225b1497de1b1d4e53af09db1206e9243106ddb9d062493b7f9715dccf17ee25ad683b5ed7
Description: Linux kernel headers for version 5.15.0 on 64 bit x86 SMP
Description-md5: de4ff4241940f9b8f4275aac7b542ace