How to Install and Uninstall linux-modules-nvidia-440-5.4.0-40-generic Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: July 04,2024

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

In this section, we are going to explain the necessary steps to install linux-modules-nvidia-440-5.4.0-40-generic on Ubuntu 18.04 LTS (Bionic Beaver)

$ 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

Please follow the guidelines below to uninstall linux-modules-nvidia-440-5.4.0-40-generic on Ubuntu 18.04 LTS (Bionic Beaver):

$ 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 18.04 LTS (Bionic Beaver)

Package: linux-modules-nvidia-440-5.4.0-40-generic
Architecture: amd64
Version: 5.4.0-40.44~18.04.1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.4
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30543
Depends: debconf (>= 0.5) | debconf-2.0, binutils, linux-image-5.4.0-40-generic | linux-image-unsigned-5.4.0-40-generic
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-440-5.4.0-40-generic_5.4.0-40.44~18.04.1_amd64.deb
Size: 12931888
MD5sum: fa3372b44ff1ff5575c96798a86815b5
SHA1: 7b57268219676235522e61dd2590a5dba607df7d
SHA256: 064ba746ed766c81cf3ceb973e7dad4b6f16768662030355b7c7c3ad1ef5e774
SHA512: dbaeebbc3c6753ef2219a32aca68a1e705838118f90cc637abf02f9b4a4c4d0aae20ff88998e2a9c124fb029ff68bec5be2c5ce33e14ff42de11774b34a39ae4
Description: Linux kernel nvidia modules for version 5.4.0-40
Description-md5: 6e02e233bd475fd5f70b4158cef09607
Supported: 5y