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

Last updated: November 24,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-390-5.4.0-104-generic
Architecture: amd64
Version: 5.4.0-104.118
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 33
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-104-generic | linux-image-unsigned-5.4.0-104-generic, linux-signatures-nvidia-5.4.0-104-generic (= 5.4.0-104.118), linux-objects-nvidia-390-5.4.0-104-generic (= 5.4.0-104.118), 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-104-generic_5.4.0-104.118_amd64.deb
Size: 7132
MD5sum: 85d12de359d58113b5d20863777bd52b
SHA1: 2111340a86bbd1611e750d2f458069eef955f92a
SHA256: 3e5d116c553cad2de2f0be4f4823ade6621ca32a41d7b2dd0ec3d4b076b98257
SHA512: 0877173d7ad0dd2475fa35483ce555b185d5a50b1b5b2986d0f0b6f9d316bc2e54716412d930dad3a4b56fa8434836e1664b62006d496683e169987ba6c7e59e
Description: Linux kernel nvidia modules for version 5.4.0-104
Description-md5: 39b3c46305322309fa61281bda4b38cf