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

Last updated: November 16,2024

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

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

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

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

This tutorial shows how to uninstall linux-modules-nvidia-435-5.4.0-40-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-435-5.4.0-40-generic
Architecture: amd64
Version: 5.4.0-40.44
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-40-generic | linux-image-unsigned-5.4.0-40-generic, nvidia-kernel-common-435
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-435-5.4.0-40-generic_5.4.0-40.44_amd64.deb
Size: 12093456
MD5sum: e487554e61da5f89364b8771e4c28070
SHA1: 2284779349a6e1a7876c0d6d810a0f3ab574d7c4
SHA256: 950d49e138d33e501678a506066696966820641465811fb650c00533b833b89d
SHA512: bc0f1077d9993a1b99eb56c2fefc1fc4c0117b86ecc049f0c2b71265dc4feb43a79828fb33a06355f90deb518dffdf4fd02b806dc53015d9e55b9abab8fed637
Description: Linux kernel nvidia modules for version 5.4.0-40
Description-md5: bf0bf3bd3cd17dd10039cf834c5c9ee9