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

Last updated: November 23,2024

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

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

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

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

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

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

3. Information about the linux-modules-nvidia-440-5.4.0-42-generic package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: linux-modules-nvidia-440-5.4.0-42-generic
Architecture: amd64
Version: 5.4.0-42.46~18.04.1+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-42-generic | linux-image-unsigned-5.4.0-42-generic
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-440-5.4.0-42-generic_5.4.0-42.46~18.04.1+1_amd64.deb
Size: 12931220
MD5sum: a6b49eacd532c245a5dae3c0e063aa9b
SHA1: 0d813dc6206f52fece74e1d87802796eb91a9388
SHA256: d8dafa6072c4b8023fb4847cf1fa8dff469bf8e827aba85e41c2ba83d90abf04
SHA512: 31864fb5f01b075803744f4d6c23bcd0bae4893c5fdfe868cb1aa3b69f0e7a60f0dd760e16a19dea8c4d7040723489734bed57495aade4bcfa49b8c857cb9ea5
Description: Linux kernel nvidia modules for version 5.4.0-42
Description-md5: b11056b67cff0211b5e24a6b7a62e4e0
Supported: 5y