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

Last updated: November 15,2024

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

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

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

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

This is a short guide on how to uninstall linux-modules-nvidia-520-5.4.0-135-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-520-5.4.0-135-generic
Architecture: amd64
Version: 5.4.0-135.152
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), linux-objects-nvidia-520-5.4.0-135-generic (= 5.4.0-135.152), nvidia-kernel-common-520 (<= 520.56.06-1), nvidia-kernel-common-520 (>= 520.56.06)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-520-5.4.0-135-generic_5.4.0-135.152_amd64.deb
Size: 7128
MD5sum: 7b0eed84b55f08602ce003fef96ff5a5
SHA1: bd402a0288e841194b3b100affe7cbd8a655c5dc
SHA256: 486202dd5d2e344d5cfd1afa959bd9613256b335e55aa9d24e8e80b7c56082b5
SHA512: f2aa3dbae9fc942aa19969b45368cf7836eb6f20ce5cbcaac09e7c07bc2e0a74e0bdeba42ae0ccf4b842ec0dcd81e45bb0c5774e45efd3705c5921168d09e23c
Description: Linux kernel nvidia modules for version 5.4.0-135
Description-md5: f11f63032d3a02f8e883066feba5e53a