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

Last updated: November 16,2024

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

In this section, we are going to explain the necessary steps to install linux-modules-nvidia-510-server-5.15.0-56-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

Please follow the guidelines below to uninstall linux-modules-nvidia-510-server-5.15.0-56-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-510-server-5.15.0-56-generic
Architecture: amd64
Version: 5.15.0-56.62~20.04.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: 33
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.15.0-56-generic | linux-image-unsigned-5.15.0-56-generic, linux-signatures-nvidia-5.15.0-56-generic (= 5.15.0-56.62~20.04.1), linux-objects-nvidia-510-server-5.15.0-56-generic (= 5.15.0-56.62~20.04.1), nvidia-kernel-common-510-server (<= 510.85.02-1), nvidia-kernel-common-510-server (>= 510.85.02)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.15/linux-modules-nvidia-510-server-5.15.0-56-generic_5.15.0-56.62~20.04.1_amd64.deb
Size: 7160
MD5sum: 063cdba2122581fa7d282778272293b6
SHA1: 43d33fe87e24b377c344aa8c15b0ebb75acf5f11
SHA256: dc94e95776d4aa312d8774564f2231b9c8e01d096df457dfedce8d80d4277a51
SHA512: 3c034519a3d55011e17eb5ad5a4799efa50598e15596e4e9969bc95d86f97ed58a05fe789e0c10551c7a93d25fda5e8a8ba12588abba1b1070df006b89ff9863
Description: Linux kernel nvidia modules for version 5.15.0-56
Description-md5: 5ec92dcb381e1fe91330ccb7590cb65a