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

Last updated: November 16,2024

1. Install "linux-modules-nvidia-435-5.4.0-31-generic" package

This guide covers the steps necessary to install linux-modules-nvidia-435-5.4.0-31-generic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-435-5.4.0-31-generic

2. Uninstall "linux-modules-nvidia-435-5.4.0-31-generic" package

Please follow the step by step instructions below to uninstall linux-modules-nvidia-435-5.4.0-31-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-435-5.4.0-31-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-435-5.4.0-31-generic
Architecture: amd64
Version: 5.4.0-31.35
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29502
Depends: debconf (>= 0.5) | debconf-2.0, binutils, linux-image-5.4.0-31-generic | linux-image-unsigned-5.4.0-31-generic, nvidia-kernel-common-435
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-435-5.4.0-31-generic_5.4.0-31.35_amd64.deb
Size: 12097008
MD5sum: e9bbc56901d6d25d7a96e4d4e90daa53
SHA1: a5e485cb2fd02ae0402ef6e002af1506515b449f
SHA256: ec6399abbf1b34b338e195c08771711461e01710fd6d01dc8876cfdedaa7bf78
SHA512: 7bcc807779dc10b98fceb54dc26b72b732aff59e719fba785b9a61d014b51709efdf33ef191694f513443e3f62e5cf7f7f2a8efec5c4c4ff9d1149762bbbf11d
Description: Linux kernel nvidia modules for version 5.4.0-31
Description-md5: 2c8388d7eb378c6401d6b96111f03f7e