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

Last updated: November 27,2024

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

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

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

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

Please follow the steps below to uninstall linux-modules-nvidia-390-5.4.0-31-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-390-5.4.0-31-generic
Architecture: amd64
Version: 5.4.0-31.35
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 23769
Depends: debconf (>= 0.5) | debconf-2.0, binutils, linux-image-5.4.0-31-generic | linux-image-unsigned-5.4.0-31-generic, nvidia-kernel-common-390
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-31-generic_5.4.0-31.35_amd64.deb
Size: 8268468
MD5sum: 8de0903b629e310d33de7e296065c25f
SHA1: 873333a8cd83f63a7bc75016362b4cb075d59246
SHA256: 2cc2eedc06cf4332426903286a0b82c4b96c4e58c7b02f86e30e68a1ad7aeddf
SHA512: 2f63fe174df68f372f924178077e6f090fb54098fd0f51a27bc08834856358cabbd536c7b9a978bd9bab5393f60a60be9356d63eb62c119cf67bd2113bb60f0a
Description: Linux kernel nvidia modules for version 5.4.0-31
Description-md5: 4b69a6aa802b1d4cdf1db032879b85da