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

Last updated: November 14,2024

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

Here is a brief guide to show you how to install linux-modules-nvidia-535-server-5.4.0-166-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-535-server-5.4.0-166-generic
Architecture: amd64
Version: 5.4.0-166.183+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: 34
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-166-generic | linux-image-unsigned-5.4.0-166-generic, linux-signatures-nvidia-5.4.0-166-generic (= 5.4.0-166.183+1), linux-objects-nvidia-535-server-5.4.0-166-generic (= 5.4.0-166.183+1), nvidia-kernel-common-535-server (>= 535.129.03)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-535-server-5.4.0-166-generic_5.4.0-166.183+1_amd64.deb
Size: 15060
MD5sum: 87b136e77591ce60f27bcb882d37209e
SHA1: 001485c00fd615aaa8612ab71fe356e7e6c87c6a
SHA256: 30274f4fa3311c939751fcaf0694a579a64f2ae5c0e2e15fa31db4e285bd1437
SHA512: 8c6dcac1af53c639cd9df8d2adbde401fc73825dd645287285f690b5a073df04e55444391c466c03b9acf0fad27e5b7e1c5656008e3b8aa7bdf547f39a248963
Description: Linux kernel nvidia modules for version 5.4.0-166
Description-md5: 05c34b5b45f92a5124463fc3b4f63856