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

Last updated: September 21,2024

1. Install "linux-modules-nvidia-510-5.15.0-1022-gcp" package

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

$ sudo apt update $ sudo apt install linux-modules-nvidia-510-5.15.0-1022-gcp

2. Uninstall "linux-modules-nvidia-510-5.15.0-1022-gcp" package

Please follow the instructions below to uninstall linux-modules-nvidia-510-5.15.0-1022-gcp on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-510-5.15.0-1022-gcp $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-510-5.15.0-1022-gcp
Architecture: amd64
Version: 5.15.0-1022.29~20.04.1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-gcp-5.15
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 31
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.15.0-1022-gcp | linux-image-unsigned-5.15.0-1022-gcp, linux-signatures-nvidia-5.15.0-1022-gcp (= 5.15.0-1022.29~20.04.1), linux-objects-nvidia-510-5.15.0-1022-gcp (= 5.15.0-1022.29~20.04.1), nvidia-kernel-common-510 (<= 510.85.02-1), nvidia-kernel-common-510 (>= 510.85.02)
Filename: pool/restricted/l/linux-restricted-modules-gcp-5.15/linux-modules-nvidia-510-5.15.0-1022-gcp_5.15.0-1022.29~20.04.1_amd64.deb
Size: 7148
MD5sum: 2d664c4724ccdc7dea6ee7e9654549c1
SHA1: 9641a37fd9c741f27a194b19e2c877c1fe06ba72
SHA256: be5a819e72e98870a0fb6df172b878fbe1dcc9531d78077b395e84a2046db13f
SHA512: 5d8d715108de89bd5ae9239c52dd8234429b79fdf2bac2298567bcb8c7af01506bec4e326f4aa98714bd048e524384995ef9abe1c80928158cbe3804e74e6d8b
Description: Linux kernel nvidia modules for version 5.15.0-1022
Description-md5: 5c8f8e37db3dc1c8670723127d87975c