How to Install and Uninstall linux-modules-nvidia-515-5.19.0-42-generic Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 23,2024

1. Install "linux-modules-nvidia-515-5.19.0-42-generic" package

Please follow the guidelines below to install linux-modules-nvidia-515-5.19.0-42-generic on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install linux-modules-nvidia-515-5.19.0-42-generic

2. Uninstall "linux-modules-nvidia-515-5.19.0-42-generic" package

Please follow the steps below to uninstall linux-modules-nvidia-515-5.19.0-42-generic on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove linux-modules-nvidia-515-5.19.0-42-generic $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-modules-nvidia-515-5.19.0-42-generic package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: linux-modules-nvidia-515-5.19.0-42-generic
Architecture: amd64
Version: 5.19.0-42.43~22.04.1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.19
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 35
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.19.0-42-generic | linux-image-unsigned-5.19.0-42-generic, linux-signatures-nvidia-5.19.0-42-generic (= 5.19.0-42.43~22.04.1), linux-objects-nvidia-515-5.19.0-42-generic (= 5.19.0-42.43~22.04.1), nvidia-kernel-common-515 (>= 515.105.01)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.19/linux-modules-nvidia-515-5.19.0-42-generic_5.19.0-42.43~22.04.1_amd64.deb
Size: 7034
MD5sum: 3f5050f15476d0de6c4ef21763616d4e
SHA1: f9e9e7450753fdb7251cb6c9b54a109a67a7912c
SHA256: cf4d32139c1320ab307baad0ce0674bb98ca50eebfcdafbee110c274826510b3
SHA512: 3ba106d76a5c4c589dd505cd7bcfcee0ffe2a064130083f4e67a5d878b9b5169874054562748c6eaad3c0137a3a2894b31cff92d74e3198a11e731e71d86d845
Description: Linux kernel nvidia modules for version 5.19.0-42
Description-md5: 8b809f204ac802d5bb46d49587da496a