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

Last updated: November 24,2024

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

Learn how to install linux-modules-nvidia-510-5.4.0-99-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

This guide covers the steps necessary to uninstall linux-modules-nvidia-510-5.4.0-99-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-510-5.4.0-99-generic
Architecture: amd64
Version: 5.4.0-99.112+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 32
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-99-generic | linux-image-unsigned-5.4.0-99-generic, linux-signatures-nvidia-5.4.0-99-generic (= 5.4.0-99.112+1), linux-objects-nvidia-510-5.4.0-99-generic (= 5.4.0-99.112+1), 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-99-generic_5.4.0-99.112+1_amd64.deb
Size: 7136
MD5sum: 5a52b2d28191430ccc42d95c76da2823
SHA1: 56a2cdd95a477527088b66167c0f2874386bb66d
SHA256: 2d0bbcdc5fa23322c71fde857a6815214ebc88e7feb8603d098a8b69987088a3
SHA512: 8a693070206ed1a4a483cebf2611126c3ac73f16210cd51e6a68c067f9345e755b3b6b1c205d1cfd44f11084b7bfc54d00802ac7293ce0c40240a51453609596
Description: Linux kernel nvidia modules for version 5.4.0-99
Description-md5: 52080ff7dc883828d8543ee8557c83da