How to Install and Uninstall linux-modules-nvidia-520-5.15.0-1027-aws Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 23,2024

1. Install "linux-modules-nvidia-520-5.15.0-1027-aws" package

In this section, we are going to explain the necessary steps to install linux-modules-nvidia-520-5.15.0-1027-aws on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-520-5.15.0-1027-aws

2. Uninstall "linux-modules-nvidia-520-5.15.0-1027-aws" package

Please follow the guidelines below to uninstall linux-modules-nvidia-520-5.15.0-1027-aws on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-520-5.15.0-1027-aws $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-modules-nvidia-520-5.15.0-1027-aws package on Ubuntu 20.04 LTS (Focal Fossa)

Package: linux-modules-nvidia-520-5.15.0-1027-aws
Architecture: amd64
Version: 5.15.0-1027.31~20.04.1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-aws-5.15
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 27
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.15.0-1027-aws | linux-image-unsigned-5.15.0-1027-aws, linux-signatures-nvidia-5.15.0-1027-aws (= 5.15.0-1027.31~20.04.1), linux-objects-nvidia-520-5.15.0-1027-aws (= 5.15.0-1027.31~20.04.1), nvidia-kernel-common-520 (<= 520.56.06-1), nvidia-kernel-common-520 (>= 520.56.06)
Filename: pool/restricted/l/linux-restricted-modules-aws-5.15/linux-modules-nvidia-520-5.15.0-1027-aws_5.15.0-1027.31~20.04.1_amd64.deb
Size: 7140
MD5sum: 0a9750f867f794d8ac24c6e63429da27
SHA1: e17948d41bcbb95262815a2e63ad5d8802d5b9ea
SHA256: 44dea522883f27ea04bad063b6d2f5111c915df6670d30818ec9d79de76a55cf
SHA512: 1898aa9345e6ace88f1bc99fd23c0a5245809e898130ad112cf1333b98beda3bc8c8b710464cc78418d4293ceaf41f00ee732a730b40cc5ff53cb9a6a9c661f0
Description: Linux kernel nvidia modules for version 5.15.0-1027
Description-md5: a8c2826ca122ed7901142919abeec0d8