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

Last updated: November 23,2024

1. Install "linux-modules-nvidia-510-5.4.0-100-generic" package

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

$ sudo apt update $ sudo apt install linux-modules-nvidia-510-5.4.0-100-generic

2. Uninstall "linux-modules-nvidia-510-5.4.0-100-generic" package

In this section, we are going to explain the necessary steps to uninstall linux-modules-nvidia-510-5.4.0-100-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-510-5.4.0-100-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-510-5.4.0-100-generic
Architecture: amd64
Version: 5.4.0-100.113
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
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.4.0-100-generic | linux-image-unsigned-5.4.0-100-generic, linux-signatures-nvidia-5.4.0-100-generic (= 5.4.0-100.113), linux-objects-nvidia-510-5.4.0-100-generic (= 5.4.0-100.113), nvidia-kernel-common-510 (<= 510.47.03-1), nvidia-kernel-common-510 (>= 510.47.03)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-510-5.4.0-100-generic_5.4.0-100.113_amd64.deb
Size: 7132
MD5sum: e2ed5b2daea420feadb3f1b7b17e7d94
SHA1: d3835fd83f9bf226301f3e2230a14d5e76ecc98b
SHA256: 08567cc883b67e69ad92e21808f5245e3d5f9da71323ad12d7ac6c3efab9941f
SHA512: 489fbf1ef8ba0175a0ca65f1984425779addb0d2575930e516b262886c77bb82ea58453fa6fa074857a0d7afdc93efc198eb4122ff0007cfdcb28cdfbea15730
Description: Linux kernel nvidia modules for version 5.4.0-100
Description-md5: 5950f44d679c7d9dce17f30a96d1c009