How to Install and Uninstall linux-modules-nvidia-390-5.15.0-1040-gcp Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: November 23,2024

1. Install "linux-modules-nvidia-390-5.15.0-1040-gcp" package

This is a short guide on how to install linux-modules-nvidia-390-5.15.0-1040-gcp on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install linux-modules-nvidia-390-5.15.0-1040-gcp

2. Uninstall "linux-modules-nvidia-390-5.15.0-1040-gcp" package

Please follow the guidance below to uninstall linux-modules-nvidia-390-5.15.0-1040-gcp on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove linux-modules-nvidia-390-5.15.0-1040-gcp $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-modules-nvidia-390-5.15.0-1040-gcp package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: linux-modules-nvidia-390-5.15.0-1040-gcp
Architecture: amd64
Version: 5.15.0-1040.48
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.15.0-1040-gcp | linux-image-unsigned-5.15.0-1040-gcp, linux-signatures-nvidia-5.15.0-1040-gcp (= 5.15.0-1040.48), linux-objects-nvidia-390-5.15.0-1040-gcp (= 5.15.0-1040.48), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules-gcp/linux-modules-nvidia-390-5.15.0-1040-gcp_5.15.0-1040.48_amd64.deb
Size: 7030
MD5sum: fab6bb5005254b6bccd7118b4a8d5033
SHA1: cf99abc2489e94ef7b2bd8ba6608e215b8927ebe
SHA256: 4d6c8ce2393288f1e4ade4608e566bb243cbdd63aa141c5581cb42fda850042a
SHA512: c6dc251fce2edccfe008037c68d037f70dbf8d238d9df69cda659eaf41956436e73d5b822403becbd76d4c019f13466e0463da2e3e130c6ff1b23ecb9df31162
Description: Linux kernel nvidia modules for version 5.15.0-1040
Description-md5: 8340c8ffa9ee1a218b19d930598f79f8