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

Last updated: December 27,2024

1. Install "linux-modules-nvidia-390-5.4.0-1118-gcp" package

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

$ sudo apt update $ sudo apt install linux-modules-nvidia-390-5.4.0-1118-gcp

2. Uninstall "linux-modules-nvidia-390-5.4.0-1118-gcp" package

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

$ sudo apt remove linux-modules-nvidia-390-5.4.0-1118-gcp $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-390-5.4.0-1118-gcp
Architecture: amd64
Version: 5.4.0-1118.127
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-gcp
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-1118-gcp | linux-image-unsigned-5.4.0-1118-gcp, linux-signatures-nvidia-5.4.0-1118-gcp (= 5.4.0-1118.127), linux-objects-nvidia-390-5.4.0-1118-gcp (= 5.4.0-1118.127), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules-gcp/linux-modules-nvidia-390-5.4.0-1118-gcp_5.4.0-1118.127_amd64.deb
Size: 7132
MD5sum: 406184394496f9260954367bf7e2fd8a
SHA1: edf71799c6e5d633353d71adf2d87cae0b8569f2
SHA256: e54d04f0197eb953b58bb4ad4fad249da01eb9816e7a14b162d1dc599b05f006
SHA512: b639dccef0bbe4234861580ad38956f66431b9ecf1801c713a217a0b6af1f0e0c07f869e9f13fe459dd10ab88824e66530fd851e69228e138de917bfd6413e1b
Description: Linux kernel nvidia modules for version 5.4.0-1118
Description-md5: a248922d5a08211e1b391b6fcd96fc2f