How to Install and Uninstall linux-modules-nvidia-515-5.15.0-1040-azure Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 30,2024

1. Install "linux-modules-nvidia-515-5.15.0-1040-azure" package

Please follow the guidance below to install linux-modules-nvidia-515-5.15.0-1040-azure on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-515-5.15.0-1040-azure

2. Uninstall "linux-modules-nvidia-515-5.15.0-1040-azure" package

This tutorial shows how to uninstall linux-modules-nvidia-515-5.15.0-1040-azure on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-515-5.15.0-1040-azure $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-modules-nvidia-515-5.15.0-1040-azure package on Ubuntu 20.04 LTS (Focal Fossa)

Package: linux-modules-nvidia-515-5.15.0-1040-azure
Architecture: amd64
Version: 5.15.0-1040.47~20.04.1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-azure-5.15
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 28
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.15.0-1040-azure | linux-image-unsigned-5.15.0-1040-azure, linux-signatures-nvidia-5.15.0-1040-azure (= 5.15.0-1040.47~20.04.1), linux-objects-nvidia-515-5.15.0-1040-azure (= 5.15.0-1040.47~20.04.1), nvidia-kernel-common-515 (>= 515.105.01)
Filename: pool/restricted/l/linux-restricted-modules-azure-5.15/linux-modules-nvidia-515-5.15.0-1040-azure_5.15.0-1040.47~20.04.1_amd64.deb
Size: 7144
MD5sum: a2a0722c3c63bcebeba2a040d1e40dfd
SHA1: d2c7e8367d4da80c06a876982cc823cbbffb7670
SHA256: cd63c5a612740e16d058722f58a7ca6996e103dc314a441ba7a87c11990cdc51
SHA512: fc867587392304e4f9a9e02de0ad7dab659118bda97b542dedf03dc316179550c8d9401b16c5dcd1ec77d1de3e255a8e1cc1c75bd16911eeac28af708c65588e
Description: Linux kernel nvidia modules for version 5.15.0-1040
Description-md5: 591adeb819385b7c6e9d8db149d1acb5