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

Last updated: December 30,2024

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

This tutorial shows how to install linux-modules-nvidia-418-server-5.4.0-42-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

Learn how to uninstall linux-modules-nvidia-418-server-5.4.0-42-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: linux-modules-nvidia-418-server-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: 28089
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-418-server-5.4.0-42-generic_5.4.0-42.46~18.04.1+1_amd64.deb
Size: 11196720
MD5sum: f5f768c68b1738f65e396fb12c019bd0
SHA1: 66b1d7059fc5ef2bd8bd208a13fb33e655fdbfe5
SHA256: 497d9b02c6d090cbb93367e901454781abbee1fdea5895717d284e41bafe5174
SHA512: 2544b722945e5d994a58392d394d76326a8b5870fdbc8f178196a3c0baa7c075eacfbe9098302c883189e2c73fa61084b6160e670ce897cf22e88978b0c07578
Description: Linux kernel nvidia modules for version 5.4.0-42
Description-md5: 5fd73a3f07879d9472331501452840c5
Supported: 5y