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

Last updated: November 24,2024

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

This tutorial shows how to install linux-modules-nvidia-535-5.4.0-159-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

Learn how to uninstall linux-modules-nvidia-535-5.4.0-159-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-535-5.4.0-159-generic
Architecture: amd64
Version: 5.4.0-159.176
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-159-generic | linux-image-unsigned-5.4.0-159-generic, linux-signatures-nvidia-5.4.0-159-generic (= 5.4.0-159.176), linux-objects-nvidia-535-5.4.0-159-generic (= 5.4.0-159.176), nvidia-kernel-common-535 (>= 535.86.05)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-535-5.4.0-159-generic_5.4.0-159.176_amd64.deb
Size: 7144
MD5sum: 68c3002bdf4dcf951d9be60e026cd29f
SHA1: 978c26abf259e777f6406909c99cb5e1643855bc
SHA256: 0c715ae839f477d101e8dc2334dd8ed8c8b0076a9b03690c7843e30bedc12437
SHA512: e9b8ba9ff2bfe672a90a612f37d771dc64d35eb1f3bc33e856dc77c816a536a91e88c10da5751f48994844c12899075e38939f3e9ed0bf0af1d2971b8c0595b6
Description: Linux kernel nvidia modules for version 5.4.0-159
Description-md5: c601a564af4a424ec6c941cd413e8ba7