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
Notice
You can also install and uninstall the linux-headers-5.15.0-1040-nvidia on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
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
Copied
$
sudo apt install
linux-headers-5.15.0-1040-nvidia
Copied
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
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
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
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