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

Last updated: December 29,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-470-5.4.0-125-generic
Architecture: amd64
Version: 5.4.0-125.141
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-125-generic | linux-image-unsigned-5.4.0-125-generic, linux-signatures-nvidia-5.4.0-125-generic (= 5.4.0-125.141), linux-objects-nvidia-470-5.4.0-125-generic (= 5.4.0-125.141), 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-125-generic_5.4.0-125.141_amd64.deb
Size: 7136
MD5sum: 2d3f2e19e9c7dc34eeb1b5eadf4c471a
SHA1: ac698ecd17292756ec6ff45fccd58375a1b8a053
SHA256: 764886316fed51468da39c4d670359d00d6977b2ee6c8c6ead620f0a4fa44c97
SHA512: c7a525f354d5362db37406c5e04c344d8069c7c0588feb8e9977c9e7c30660e3d185d8bc15e7bca259f0f6628d21fdbae732076421888f9035d9d75030bd38d3
Description: Linux kernel nvidia modules for version 5.4.0-125
Description-md5: 29e17ded0fb5d5946dc6e457156f26d1