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

Last updated: November 14,2024

1. Install "linux-modules-nvidia-510-5.4.0-1096-gcp" package

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

$ sudo apt update $ sudo apt install linux-modules-nvidia-510-5.4.0-1096-gcp

2. Uninstall "linux-modules-nvidia-510-5.4.0-1096-gcp" package

Please follow the step by step instructions below to uninstall linux-modules-nvidia-510-5.4.0-1096-gcp on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-510-5.4.0-1096-gcp $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-510-5.4.0-1096-gcp
Architecture: amd64
Version: 5.4.0-1096.105+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-gcp
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.4.0-1096-gcp | linux-image-unsigned-5.4.0-1096-gcp, linux-signatures-nvidia-5.4.0-1096-gcp (= 5.4.0-1096.105+1), linux-objects-nvidia-510-5.4.0-1096-gcp (= 5.4.0-1096.105+1), nvidia-kernel-common-510 (<= 510.108.03-1), nvidia-kernel-common-510 (>= 510.108.03)
Filename: pool/restricted/l/linux-restricted-modules-gcp/linux-modules-nvidia-510-5.4.0-1096-gcp_5.4.0-1096.105+1_amd64.deb
Size: 7036
MD5sum: 4c3af79b1ceeef6797b183732fff8711
SHA1: 22260c4e594e938fdc36208e773e2cad368bcfe8
SHA256: 2b709ac02f78bf2961433810d4e766eb9784da405fcacfa5ddecf578132b6e40
SHA512: bfdfda684a36c98b09e784882093f7287276944da8417c012041b06e962639c8ac46f73a6f68dcb8b7683496401292fc602469f52e158fcaf8b2a8d163ee1161
Description: Linux kernel nvidia modules for version 5.4.0-1096
Description-md5: bb6fedc208897d2f09b9527ac3a81a86