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

Last updated: November 14,2024

1. Install "linux-modules-nvidia-390-5.4.0-1058-aws" package

This is a short guide on how to install linux-modules-nvidia-390-5.4.0-1058-aws on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-390-5.4.0-1058-aws

2. Uninstall "linux-modules-nvidia-390-5.4.0-1058-aws" package

Please follow the steps below to uninstall linux-modules-nvidia-390-5.4.0-1058-aws on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-390-5.4.0-1058-aws $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-390-5.4.0-1058-aws
Architecture: amd64
Version: 5.4.0-1058.61
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-aws
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-1058-aws | linux-image-unsigned-5.4.0-1058-aws, linux-signatures-nvidia-5.4.0-1058-aws (= 5.4.0-1058.61), linux-objects-nvidia-390-5.4.0-1058-aws (= 5.4.0-1058.61), nvidia-kernel-common-390 (<= 390.144-1), nvidia-kernel-common-390 (>= 390.144)
Filename: pool/restricted/l/linux-restricted-modules-aws/linux-modules-nvidia-390-5.4.0-1058-aws_5.4.0-1058.61_amd64.deb
Size: 7028
MD5sum: 5fa6ac7db6e6ff948bb09c5cf4d62770
SHA1: 6090217d887124cb3afab647d5b2bc55752b57b4
SHA256: c82eb7f9b801e78751f6a8b1ea5ddd5b56e5e92bc99d1aa1c9d9ec4267eba8da
SHA512: 218eb075c957ada3871193f28d3e21687b68fccb5be95655e099ed8ee70bf009e23da2431e01ed2e887d42de98e0843c18fc1e4528a4ce3f9655adb079e86cec
Description: Linux kernel nvidia modules for version 5.4.0-1058
Description-md5: 6c561f2652f346caea4f483eb4f5ed56