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

Last updated: December 28,2024

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

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

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

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

This is a short guide on how to uninstall linux-modules-nvidia-440-5.4.0-40-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-440-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: 30717
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-440
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-440-5.4.0-40-generic_5.4.0-40.44_amd64.deb
Size: 12926936
MD5sum: 3c5d41989b3ddc98b8542932d3344d01
SHA1: 9febca79adcf0f2ceed78aaa5a476073b6b1c6ee
SHA256: e192cc9c657c08758b268ca0232e581f34847d9ece40eef06c36cc1ad3802b4f
SHA512: aaa4b63d80521bb9ba04dc8581669bb2995579521c1a40f87c24dce5d7f3faa5dc7ba7aed5e93d72cc8abdf1690c402366191f8fc37fd73a85f320f57f1e9cf6
Description: Linux kernel nvidia modules for version 5.4.0-40
Description-md5: 6e02e233bd475fd5f70b4158cef09607