How to Install and Uninstall linux-modules-nvidia-510-5.15.0-40-generic Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 14,2024

1. Install "linux-modules-nvidia-510-5.15.0-40-generic" package

Please follow the step by step instructions below to install linux-modules-nvidia-510-5.15.0-40-generic on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install linux-modules-nvidia-510-5.15.0-40-generic

2. Uninstall "linux-modules-nvidia-510-5.15.0-40-generic" package

Please follow the steps below to uninstall linux-modules-nvidia-510-5.15.0-40-generic on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove linux-modules-nvidia-510-5.15.0-40-generic $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-modules-nvidia-510-5.15.0-40-generic package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: linux-modules-nvidia-510-5.15.0-40-generic
Architecture: amd64
Version: 5.15.0-40.43+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.15.0-40-generic | linux-image-unsigned-5.15.0-40-generic, linux-signatures-nvidia-5.15.0-40-generic (= 5.15.0-40.43+1), linux-objects-nvidia-510-5.15.0-40-generic (= 5.15.0-40.43+1), nvidia-kernel-common-510 (<= 510.73.05-1), nvidia-kernel-common-510 (>= 510.73.05)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-510-5.15.0-40-generic_5.15.0-40.43+1_amd64.deb
Size: 7028
MD5sum: 396ddc22e02a0057a152c0cb04d4a386
SHA1: 295baa4e5763ceefccae850828b623a9ef4df146
SHA256: 64b1f4762e05d6bac2588b1bc10f6f31259c02a1cff58bbeb8811dabfc423982
SHA512: 19203c2d42c370f3e3866daa10ebba4be25f9fab9f74c4ca891e184d5dd858ae170dddefa8236066620b8ceda8f44f891708c109a5dd6770e3649f362428cb32
Description: Linux kernel nvidia modules for version 5.15.0-40
Description-md5: 3b2dab865e27321184a76ad9e6566287