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

Last updated: December 29,2024

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

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

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

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

Please follow the guidelines below to uninstall linux-modules-nvidia-418-server-5.4.0-156-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-418-server-5.4.0-156-generic
Architecture: amd64
Version: 5.4.0-156.173+2
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-156-generic | linux-image-unsigned-5.4.0-156-generic, linux-signatures-nvidia-5.4.0-156-generic (= 5.4.0-156.173+2), linux-objects-nvidia-418-server-5.4.0-156-generic (= 5.4.0-156.173+2), nvidia-kernel-common-418-server (>= 418.226.00)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-418-server-5.4.0-156-generic_5.4.0-156.173+2_amd64.deb
Size: 15052
MD5sum: 091038b8d38682502680bea1127c297a
SHA1: 9be582f25b62cf055e4941862bc29426dac8b5f3
SHA256: 02709dabea9c91b54f4208eb63ed9a354cab4789d04f735a7c5b40c89a35c108
SHA512: d135a826edf390a01202d2c4cf02f3efb018a14db13948cdac6d3400f6456c29b00bc90ed23fe0fd9b2a1ca8729ccdfbafb191c671c67c0ba2c933e9d89ff2fa
Description: Linux kernel nvidia modules for version 5.4.0-156
Description-md5: 3d8580962e3ed0be157a06470dade6be