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

Last updated: November 15,2024

1. Install "linux-modules-nvidia-525-5.4.0-156-generic" package

Please follow the instructions below to install linux-modules-nvidia-525-5.4.0-156-generic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-525-5.4.0-156-generic

2. Uninstall "linux-modules-nvidia-525-5.4.0-156-generic" package

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

$ sudo apt remove linux-modules-nvidia-525-5.4.0-156-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-525-5.4.0-156-generic
Architecture: amd64
Version: 5.4.0-156.173+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: 34
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-156-generic | linux-image-unsigned-5.4.0-156-generic, linux-signatures-nvidia-5.4.0-156-generic (= 5.4.0-156.173+2), linux-objects-nvidia-525-5.4.0-156-generic (= 5.4.0-156.173+2), nvidia-kernel-common-525 (>= 525.125.06)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-525-5.4.0-156-generic_5.4.0-156.173+2_amd64.deb
Size: 15040
MD5sum: 5b94dbde50fc70c933b9444c4c6961f3
SHA1: b474ec25c3c41ea02a915538d78f953823e62ece
SHA256: 06a56317545d5ea0cfabc573602007554341618dd9f2bc226ab630b51c8b4f52
SHA512: b4aeb2570a6e126cbaed990d3d62abdcf1bf0c81ed3c7c74fd263ba06fd972022c47071784296dca0ca02a853a30f005cca641e35e2e72c67df65bd3076e5d09
Description: Linux kernel nvidia modules for version 5.4.0-156
Description-md5: aa1b774eef1dc4fa644d4ba26be3ba11