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

Last updated: December 29,2024

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

This tutorial shows how to install linux-modules-nvidia-510-5.19.0-42-generic on Ubuntu 22.04 LTS (Jammy Jellyfish)

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

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

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

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

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

Package: linux-modules-nvidia-510-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-510-5.19.0-42-generic (= 5.19.0-42.43~22.04.1), nvidia-kernel-common-510 (>= 510.108.03)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.19/linux-modules-nvidia-510-5.19.0-42-generic_5.19.0-42.43~22.04.1_amd64.deb
Size: 7034
MD5sum: 7e23c24028f063cb0c18139e4e18f6e0
SHA1: 09014ef00dba1a5cfb46f22637f778dfeb353627
SHA256: 9e0898eb3ec0da63ed2cc0ba0eebd60dbbaa07c6c38461527bf67418a36af15a
SHA512: d4b95b69e7060c34beef5a2bd2e855c25811b509c42144e90a3f37881c495e1ab97a6a4cd090ad86dc2cc1b56a84973678f86c417e9e56ac8b98fe8dabd4e3f2
Description: Linux kernel nvidia modules for version 5.19.0-42
Description-md5: 27e07527ec7d7f02029fa05416539e57