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

Last updated: November 14,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-525-5.4.0-135-generic
Architecture: amd64
Version: 5.4.0-135.152+1
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-135-generic | linux-image-unsigned-5.4.0-135-generic, linux-signatures-nvidia-5.4.0-135-generic (= 5.4.0-135.152+1), linux-objects-nvidia-525-5.4.0-135-generic (= 5.4.0-135.152+1), nvidia-kernel-common-525 (<= 525.60.11-1), nvidia-kernel-common-525 (>= 525.60.11)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-525-5.4.0-135-generic_5.4.0-135.152+1_amd64.deb
Size: 7136
MD5sum: 1359739904d0a0b1789137f1a683e62e
SHA1: ad494fe752c626998ed48c0e129d9d3e4223a7d4
SHA256: 16c800de6ce44fe84341a17ed2d98ad839aa6fd90ab4fb44c736c30ad17c9bc5
SHA512: e738e1a66bfd59c1607d615d39a49b3d92443c9097b429fc024dc9636f885073bbbac2f58ea410ef920148c64034350b34cfc94512045bb13e2d85eddf02a98c
Description: Linux kernel nvidia modules for version 5.4.0-135
Description-md5: 5f6e82af90731a44b700ebda6c0adf3b