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

Last updated: November 08,2024

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

Please follow the guidance below to install linux-modules-nvidia-470-5.4.0-99-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

Please follow the guidance below to uninstall linux-modules-nvidia-470-5.4.0-99-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-470-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-470-5.4.0-99-generic (= 5.4.0-99.112+1), nvidia-kernel-common-470 (<= 470.103.01-1), nvidia-kernel-common-470 (>= 470.103.01)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-470-5.4.0-99-generic_5.4.0-99.112+1_amd64.deb
Size: 7140
MD5sum: fbb4a354cf08e2ab9851445977bc4b41
SHA1: 3434d807a3e96051c03003175cc17dad1828bd7d
SHA256: d750246527f153f7fd916f345bf44b17114268ab6d4d9c4348ec70ce72b4cd1e
SHA512: 1050135045a83848b612accf4fdf90787be6a12059fed89c1c7d56955ba620eace23591d67182692911d2b847bdc94dab9dc4d2c9f3415b0024ccc1cc72493ca
Description: Linux kernel nvidia modules for version 5.4.0-99
Description-md5: fb07ac8eced5f7e3a12a397f526bda88