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

Last updated: November 25,2024

1. Install "linux-modules-nvidia-390-5.4.0-150-generic" package

Please follow the guidance below to install linux-modules-nvidia-390-5.4.0-150-generic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-390-5.4.0-150-generic

2. Uninstall "linux-modules-nvidia-390-5.4.0-150-generic" package

This guide covers the steps necessary to uninstall linux-modules-nvidia-390-5.4.0-150-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-390-5.4.0-150-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-390-5.4.0-150-generic
Architecture: amd64
Version: 5.4.0-150.167+1
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-150-generic | linux-image-unsigned-5.4.0-150-generic, linux-signatures-nvidia-5.4.0-150-generic (= 5.4.0-150.167+1), linux-objects-nvidia-390-5.4.0-150-generic (= 5.4.0-150.167+1), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-150-generic_5.4.0-150.167+1_amd64.deb
Size: 14720
MD5sum: a07b9e41329670ec92acc9414eb814dc
SHA1: 358fe2583501cad58dc55151bda02c16cf28195d
SHA256: 2e69caf6556feaac7a0c10d2a063ea4f8a6199cac4a2f7665c7109312c0ce4f5
SHA512: 7f118007d9c13c79170d7340d73754daae89dd382897ee47d1870b2ea82a3b2b47ed0b4886cc9ac2cc111c355f2a1e0a276ee5c4f401d9bc2b4a083b09962442
Description: Linux kernel nvidia modules for version 5.4.0-150
Description-md5: ba3aa4aac5ee695f9499498a0c8ea74e