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

Last updated: November 28,2024

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

In this section, we are going to explain the necessary steps to install linux-modules-nvidia-470-server-5.4.0-125-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-470-server-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-server-5.4.0-125-generic (= 5.4.0-125.141), nvidia-kernel-common-470-server (<= 470.141.03-1), nvidia-kernel-common-470-server (>= 470.141.03)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-470-server-5.4.0-125-generic_5.4.0-125.141_amd64.deb
Size: 7148
MD5sum: e3491f29492db3777ac920af429f47b6
SHA1: 83eefc9562f0d34f38ab4c026f6fc7f06a3bc2f6
SHA256: df8cf5eaaae009c6b94540c95a0043847419986815f3098b378c3246ef2f60ab
SHA512: bd8ab2e8943b438f4a32d58a20f2f42ca3eb27ec0e3661523185c5b5366b9f8bee73a9d91303e84cc563edd18113e217d5623fb676a2174e28c6fc51e561e11e
Description: Linux kernel nvidia modules for version 5.4.0-125
Description-md5: c961c62e6945d297e3f7370f79f5538c