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

Last updated: November 27,2024

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

In this section, we are going to explain the necessary steps to install linux-modules-nvidia-390-5.4.0-1042-gcp on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-390-5.4.0-1042-gcp
Architecture: amd64
Version: 5.4.0-1042.45+1
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: 29
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-1042-gcp | linux-image-unsigned-5.4.0-1042-gcp, linux-signatures-nvidia-5.4.0-1042-gcp (= 5.4.0-1042.45+1), linux-objects-nvidia-390-5.4.0-1042-gcp (= 5.4.0-1042.45+1), nvidia-kernel-common-390 (<= 390.143-1), nvidia-kernel-common-390 (>= 390.143)
Filename: pool/restricted/l/linux-restricted-modules-gcp/linux-modules-nvidia-390-5.4.0-1042-gcp_5.4.0-1042.45+1_amd64.deb
Size: 7032
MD5sum: f615c6595d4812ed13daa68c35b02ac7
SHA1: 3d3c771de4ce3bf0a72d1d329b3d79c48cc3572c
SHA256: 940ef1cb368d2bd91d61ac844ae670cfc2a42e3e09d83b921ce1b7f3de52dd33
SHA512: 7700dc926e4df4e406f6846d69e8c5447b85036f37d930ca4b58bc01b0599d559206872a4df88c5ac971e90b4107840fe358b37bf8bc1f3d19c8d24263315932
Description: Linux kernel nvidia modules for version 5.4.0-1042
Description-md5: 69f5de1ffc3dfa45833b5121a67d2e5a