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

Last updated: November 15,2024

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

Please follow the steps below to install linux-modules-nvidia-520-5.15.0-1023-aws on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-520-5.15.0-1023-aws
Architecture: amd64
Version: 5.15.0-1023.27~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-1023-aws | linux-image-unsigned-5.15.0-1023-aws, linux-signatures-nvidia-5.15.0-1023-aws (= 5.15.0-1023.27~20.04.1), linux-objects-nvidia-520-5.15.0-1023-aws (= 5.15.0-1023.27~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-1023-aws_5.15.0-1023.27~20.04.1_amd64.deb
Size: 7136
MD5sum: 1c0915e68a67bf36e7906b264366d2a3
SHA1: 0e7bdbb1f94006de4c56fba1e8fe3d7acc239f89
SHA256: 2ba84f7d022a8b74055fbac6810e57e01d589af319d52d6ba14dc941ba5f19ed
SHA512: f2df467d70928a10553609d7a6e3128c6283320d87de188c40b64a573fb1d14385a37d4f31ee66943a80e01fb816aaf0942d0dc642591950f712190e4a24a30b
Description: Linux kernel nvidia modules for version 5.15.0-1023
Description-md5: e49c347895658b84aca155f0d85e2951