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

Last updated: November 23,2024

1. Install "linux-modules-nvidia-390-5.15.0-58-generic" package

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

$ sudo apt update $ sudo apt install linux-modules-nvidia-390-5.15.0-58-generic

2. Uninstall "linux-modules-nvidia-390-5.15.0-58-generic" package

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

$ sudo apt remove linux-modules-nvidia-390-5.15.0-58-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-390-5.15.0-58-generic
Architecture: amd64
Version: 5.15.0-58.64~20.04.1+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.15
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.15.0-58-generic | linux-image-unsigned-5.15.0-58-generic, linux-signatures-nvidia-5.15.0-58-generic (= 5.15.0-58.64~20.04.1+1), linux-objects-nvidia-390-5.15.0-58-generic (= 5.15.0-58.64~20.04.1+1), nvidia-kernel-common-390 (<= 390.157-1), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.15/linux-modules-nvidia-390-5.15.0-58-generic_5.15.0-58.64~20.04.1+1_amd64.deb
Size: 7144
MD5sum: 95fae1483a52f8e65fcb39b6220294a1
SHA1: 2bde99e3e1075383765d8a85e661307137ba1963
SHA256: d3fd022b87aa29b2a88eba6fa1df0f69a569ac7d4ec2b2e370a7b1a6a0d8edc2
SHA512: 65ea6586a62ef4a752a21806e4f8e46700baa401166905805f09e88d3360fad804540264d1dfd32830e7f46b03367c32aa0e71d4e78a9cd45ae9cbcb06b7a695
Description: Linux kernel nvidia modules for version 5.15.0-58
Description-md5: 5d358bb71d063499450a2eb5cd8696af