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

Last updated: November 24,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-470-5.4.0-122-generic
Architecture: amd64
Version: 5.4.0-122.138+2
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-122-generic | linux-image-unsigned-5.4.0-122-generic, linux-signatures-nvidia-5.4.0-122-generic (= 5.4.0-122.138+2), linux-objects-nvidia-470-5.4.0-122-generic (= 5.4.0-122.138+2), 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-122-generic_5.4.0-122.138+2_amd64.deb
Size: 7132
MD5sum: 6ad2977e1bedb83f1b2d96a1a8f5a3bb
SHA1: d8e1932a407707f381e6734bc825732ecdd89ca7
SHA256: bad527812b5ba61de306d9a3c2dbac6db014185a9ae9d71db2bccac2318214fc
SHA512: 158e852baf0c4a729f133c8221b17fa328f01371abcedd02bd9ab4e93622e7bdd9f9b89b18811225bd5ebadad0bb07770a6b573a7babfcf48b716623fa02ce85
Description: Linux kernel nvidia modules for version 5.4.0-122
Description-md5: 8b0d431bdeda54de56b507c27db095f1