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

Last updated: November 27,2024

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

This guide covers the steps necessary to install linux-modules-nvidia-470-5.4.0-126-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-470-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-470-5.4.0-126-generic (= 5.4.0-126.142), nvidia-kernel-common-470 (<= 470.141.03-1), nvidia-kernel-common-470 (>= 470.141.03)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-470-5.4.0-126-generic_5.4.0-126.142_amd64.deb
Size: 7140
MD5sum: 693d6c902df0ce0b88bc31fc8105e8a7
SHA1: 50424108cec6b546edb9f32c6f97f3fb3bb47915
SHA256: 6975f3019e0bc769fefcdccd8acb9929adb2d74252b591209b0969d34ac0cdac
SHA512: 8dc7c466a0cdc7d964fc91a7fd2e34bbb263547d82915123fa668073985f76fabf22e3dad8376255bf30eeafcd6a076e7260ff858150728764519c7de013e7d8
Description: Linux kernel nvidia modules for version 5.4.0-126
Description-md5: 5adb9dfab6d1e22eee56df53abc257b1