How to Install and Uninstall linux-modules-nvidia-510-5.15.0-58-generic Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 16,2024

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

This guide covers the steps necessary to install linux-modules-nvidia-510-5.15.0-58-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

Here is a brief guide to show you how to uninstall linux-modules-nvidia-510-5.15.0-58-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the linux-modules-nvidia-510-5.15.0-58-generic package on Ubuntu 20.04 LTS (Focal Fossa)

Package: linux-modules-nvidia-510-5.15.0-58-generic
Architecture: amd64
Version: 5.15.0-58.64~20.04.1+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.15
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-58-generic | linux-image-unsigned-5.15.0-58-generic, linux-signatures-nvidia-5.15.0-58-generic (= 5.15.0-58.64~20.04.1+1), linux-objects-nvidia-510-5.15.0-58-generic (= 5.15.0-58.64~20.04.1+1), nvidia-kernel-common-510 (<= 510.108.03-1), nvidia-kernel-common-510 (>= 510.108.03)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.15/linux-modules-nvidia-510-5.15.0-58-generic_5.15.0-58.64~20.04.1+1_amd64.deb
Size: 7152
MD5sum: d75e2ce9e7d4c188d08f5c0c0e1c58b6
SHA1: 300901affbac793b94e02a87796902d253c7bdab
SHA256: 25b7145a01f04f2a3edf50491db05c191cd322d74ed67fb5bcf3a134fbdef8e6
SHA512: bedb0c53285f69598f0ea4b8102c9f028c32cf6cdbea0274498bd22c9a51852ce323834d848f444844b6747087d8376cd3a699693d3f9f11e0bff49fadd4eb52
Description: Linux kernel nvidia modules for version 5.15.0-58
Description-md5: abbde77e3c62c6c0741346707e8415e5