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

Last updated: November 14,2024

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

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

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

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

This is a short guide on how to uninstall linux-modules-nvidia-390-5.4.0-97-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-390-5.4.0-97-generic
Architecture: amd64
Version: 5.4.0-97.110+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: 32
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-97-generic | linux-image-unsigned-5.4.0-97-generic, linux-signatures-nvidia-5.4.0-97-generic (= 5.4.0-97.110+1), linux-objects-nvidia-390-5.4.0-97-generic (= 5.4.0-97.110+1), nvidia-kernel-common-390 (<= 390.144-1), nvidia-kernel-common-390 (>= 390.144)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-97-generic_5.4.0-97.110+1_amd64.deb
Size: 7128
MD5sum: 1de86bc5b33870ac3872076e35b029b7
SHA1: 10552c1a215b30c25ed3c534b9dc1b54e1580314
SHA256: 14e9d4a29778c72b6e71385c9e62bb4bde832f0163092864ad173ef1eaa15487
SHA512: da77ce74db6023698122d069b95fb9992f993bd6280ccc3d642d6b3de6b5ffaa889b0dc19490fb5cc02df130aa50dc79f228378d64c1726c4033670543e3dcda
Description: Linux kernel nvidia modules for version 5.4.0-97
Description-md5: 4be6374104f446a9947adf2037cfce8b