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

Last updated: November 23,2024

1. Install "linux-modules-nvidia-510-5.4.0-1072-aws" package

Please follow the steps below to install linux-modules-nvidia-510-5.4.0-1072-aws on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-510-5.4.0-1072-aws

2. Uninstall "linux-modules-nvidia-510-5.4.0-1072-aws" package

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

$ sudo apt remove linux-modules-nvidia-510-5.4.0-1072-aws $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-510-5.4.0-1072-aws
Architecture: amd64
Version: 5.4.0-1072.77
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-1072-aws | linux-image-unsigned-5.4.0-1072-aws, linux-signatures-nvidia-5.4.0-1072-aws (= 5.4.0-1072.77), linux-objects-nvidia-510-5.4.0-1072-aws (= 5.4.0-1072.77), nvidia-kernel-common-510 (<= 510.60.02-1), nvidia-kernel-common-510 (>= 510.60.02)
Filename: pool/restricted/l/linux-restricted-modules-aws/linux-modules-nvidia-510-5.4.0-1072-aws_5.4.0-1072.77_amd64.deb
Size: 7040
MD5sum: a768277449c878bf53a79882c1ae6128
SHA1: f05b66b090c9aa2a8a1b03543a2a2e3a6eb2e8e2
SHA256: f9a607ff8fd323772a04cedf6e77e17d33955576efc4bb04cc76d3e1c70032ab
SHA512: 5d0e64a08db46b9232f05c270a0742479db8983a5ae327229c881f91b1fe711ad316daa6ea696209367cbc1032ce7b4fc6c973a751e1bc2c65b82372ccc7127e
Description: Linux kernel nvidia modules for version 5.4.0-1072
Description-md5: d1371e454e67982360aed6ff48350398