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

Last updated: November 26,2024

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

Please follow the guidelines below to install linux-modules-nvidia-510-5.4.0-1097-gcp on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-510-5.4.0-1097-gcp
Architecture: amd64
Version: 5.4.0-1097.106+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-1097-gcp | linux-image-unsigned-5.4.0-1097-gcp, linux-signatures-nvidia-5.4.0-1097-gcp (= 5.4.0-1097.106+1), linux-objects-nvidia-510-5.4.0-1097-gcp (= 5.4.0-1097.106+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-1097-gcp_5.4.0-1097.106+1_amd64.deb
Size: 7028
MD5sum: da2f07a3c83bfe3c4ad725ee80faf8c1
SHA1: ce0f738ff064053bb5b5a85b245573252ec0c894
SHA256: 3e518bd32f2551f21c188934a7c9b759788841525fcabac9151aa7a150010a11
SHA512: 85de35d31b44d90e5f5b63ddf8488e32311cd912eab9d0ceff0bc7ad2d5d69961786293fe0f59f3711f65a707885103df4142d3aa39302d39dcab5597a8bfd29
Description: Linux kernel nvidia modules for version 5.4.0-1097
Description-md5: c917370915ef93542d237dae38a14faf