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

Last updated: November 10,2024

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

This is a short guide on how to install linux-modules-nvidia-510-5.4.0-126-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

Learn how to uninstall linux-modules-nvidia-510-5.4.0-126-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-510-5.4.0-126-generic
Architecture: amd64
Version: 5.4.0-126.142
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-126-generic | linux-image-unsigned-5.4.0-126-generic, linux-signatures-nvidia-5.4.0-126-generic (= 5.4.0-126.142), linux-objects-nvidia-510-5.4.0-126-generic (= 5.4.0-126.142), nvidia-kernel-common-510 (<= 510.85.02-1), nvidia-kernel-common-510 (>= 510.85.02)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-510-5.4.0-126-generic_5.4.0-126.142_amd64.deb
Size: 7140
MD5sum: 8b6ce791826c4707fbd59c5570af4403
SHA1: ad96b662969c2edb2b392c5759a40e1be868d85a
SHA256: ef6c20bc2cac4082b2486b91775acf48e60c46d39308cd49057ac7d7005aa021
SHA512: 74548143fbdf84d43f62a5d7a53eee66b7f1a64d659575748eb917c0c60f0b14f6d99f4f4bc47db4fde53411000c30f900f9b8bf39489be345f5b2e6308f5eac
Description: Linux kernel nvidia modules for version 5.4.0-126
Description-md5: d54bbf9aa7c8f35d98a6dbfbab868c86