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

Last updated: December 28,2024

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

Learn how to install linux-modules-nvidia-535-5.4.0-156-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-535-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-535-5.4.0-156-generic (= 5.4.0-156.173+2), nvidia-kernel-common-535 (>= 535.86.05)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-535-5.4.0-156-generic_5.4.0-156.173+2_amd64.deb
Size: 15044
MD5sum: 5c874e649c33168fc925f98ece163c21
SHA1: 566374fb209224d4f4528ccc24329d831cea04ed
SHA256: 77d146202c368f6c1596fce9c4fc454ea0b1cafb1f1da02fe67c8d1b5b43aff0
SHA512: cfe66e2a7a7368937dc9ba94b9c5b09c9efab90b894bd883ccc3eeed90c02afa0d62c006b4ef945f941cb1f331dd38fae316af67150ed3c66d1c1b90597a4b6c
Description: Linux kernel nvidia modules for version 5.4.0-156
Description-md5: 879fc0bb54b5a0a2ce4fa194e336f4fa