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

Last updated: November 27,2024

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

This tutorial shows how to install linux-modules-nvidia-390-5.4.0-1018-aws on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-390-5.4.0-1018-aws
Architecture: amd64
Version: 5.4.0-1018.18
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: 24862
Depends: debconf (>= 0.5) | debconf-2.0, binutils, linux-image-5.4.0-1018-aws | linux-image-unsigned-5.4.0-1018-aws, nvidia-kernel-common-390
Filename: pool/restricted/l/linux-restricted-modules-aws/linux-modules-nvidia-390-5.4.0-1018-aws_5.4.0-1018.18_amd64.deb
Size: 9269184
MD5sum: 6a111b91d5a6aeaf2fd3e6e8d63689b7
SHA1: 312f62a9a56d4081c475cf25ac97e7c032b1f8d0
SHA256: 216ab98bd2f22db4937c656d3df34ad216fba74838111defe29614190bef8d01
SHA512: 730ddd7040599461efcafa1d93745babdc6bf7614fb88b50743e36be28e4c60f025b639319a33aa4c0573f976dc35f474ea0414026c30f14cd722521579e87b4
Description: Linux kernel nvidia modules for version 5.4.0-1018
Description-md5: edf64761fea126cf1297fe5bbaba3f90