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

Last updated: November 16,2024

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

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

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

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

Here is a brief guide to show you how to uninstall linux-modules-nvidia-470-server-5.4.0-166-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-470-server-5.4.0-166-generic
Architecture: amd64
Version: 5.4.0-166.183+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: 34
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-166-generic | linux-image-unsigned-5.4.0-166-generic, linux-signatures-nvidia-5.4.0-166-generic (= 5.4.0-166.183+1), linux-objects-nvidia-470-server-5.4.0-166-generic (= 5.4.0-166.183+1), nvidia-kernel-common-470-server (>= 470.223.02)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-470-server-5.4.0-166-generic_5.4.0-166.183+1_amd64.deb
Size: 15064
MD5sum: e01acd48888b6611083db1cf598c2b85
SHA1: 9e119811c59273ebca8cc8bed3b30b198e48d579
SHA256: ce540badb4a17f4bde89711c18b4bfaf257674fad68a85d7d7741f5c6c0f8b40
SHA512: a96a9015566c2ed2b0f8311cc2bcdc618615e0f5b5cc4895318023df37f92014c29118794bd61ba2cc89d959bbe3df527e62071aa8d78b2b6e30bc840cd1d3ae
Description: Linux kernel nvidia modules for version 5.4.0-166
Description-md5: 78f8af29cd329f0ed267eb000c0aadef