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

Last updated: December 27,2024

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

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

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

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

This is a short guide on how to uninstall linux-modules-nvidia-470-5.4.0-104-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-470-5.4.0-104-generic
Architecture: amd64
Version: 5.4.0-104.118
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-104-generic | linux-image-unsigned-5.4.0-104-generic, linux-signatures-nvidia-5.4.0-104-generic (= 5.4.0-104.118), linux-objects-nvidia-470-5.4.0-104-generic (= 5.4.0-104.118), 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-104-generic_5.4.0-104.118_amd64.deb
Size: 7136
MD5sum: 8aacc8bc533ac1cab8a78f0202364ee7
SHA1: a6bd9ef05f08bcfc09e1b0a0b41d62b0f5be11eb
SHA256: 12304d2ec0f9dec5877cc8fb606b000cd49101fb5daec2fa5c5c384b14491323
SHA512: 3060df882d195f6597e1e085bdbc72a50951178a2753bc3825c364864ed7bf60ed74545192cbf142fd426162a93e13eb3af1bc3a32630df870192566bef1a215
Description: Linux kernel nvidia modules for version 5.4.0-104
Description-md5: edd4adc773974dd24feffb7986bbfc8d