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

Last updated: November 15,2024

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

This is a short guide on how to install linux-modules-nvidia-470-5.15.0-40-generic on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

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

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

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

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

Package: linux-modules-nvidia-470-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-470-5.15.0-40-generic (= 5.15.0-40.43+1), nvidia-kernel-common-470 (<= 470.129.06-1), nvidia-kernel-common-470 (>= 470.129.06)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-470-5.15.0-40-generic_5.15.0-40.43+1_amd64.deb
Size: 7030
MD5sum: 6bc61b0643306d5d45b93d3a082afd05
SHA1: c0284b94d4ff441409de8bee3ac13b522f7c3f7b
SHA256: 7fb7ba2cabfe68650dd28a23222233389fde3ad09719da08ddbaf21ce4eef093
SHA512: 1a74e1b3497816aea15f471f13d7764fe2453e4fecb45d9ede9f1134ed2c48b5319e7cca58a01ceba643d697c91a5bb29399b8b14a44b1e5efece127658b2958
Description: Linux kernel nvidia modules for version 5.15.0-40
Description-md5: 18c10e2db951c2554394cacd41315870