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

Last updated: December 27,2024

1. Install "linux-modules-nvidia-520-5.15.0-52-generic" package

Please follow the instructions below to install linux-modules-nvidia-520-5.15.0-52-generic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-520-5.15.0-52-generic

2. Uninstall "linux-modules-nvidia-520-5.15.0-52-generic" package

Please follow the steps below to uninstall linux-modules-nvidia-520-5.15.0-52-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-520-5.15.0-52-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-520-5.15.0-52-generic
Architecture: amd64
Version: 5.15.0-52.58~20.04.1+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.15
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 33
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.15.0-52-generic | linux-image-unsigned-5.15.0-52-generic, linux-signatures-nvidia-5.15.0-52-generic (= 5.15.0-52.58~20.04.1+1), linux-objects-nvidia-520-5.15.0-52-generic (= 5.15.0-52.58~20.04.1+1), nvidia-kernel-common-520 (<= 520.56.06-1), nvidia-kernel-common-520 (>= 520.56.06)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.15/linux-modules-nvidia-520-5.15.0-52-generic_5.15.0-52.58~20.04.1+1_amd64.deb
Size: 7144
MD5sum: 0271a712703f18b2a6adacc29a8f1f38
SHA1: 1021dfd4a918efec868433d78e4b7a3aed102e1d
SHA256: 131bb48fd0bd3c7d2c6cd5c8be9cf9148508f84f133cea0395d7bf06b4c13117
SHA512: 924b2d132e4f4fa5d03ff52b639cda95ac20c645d2daab56a738feee579c9e88eb59f20ed705159cd43035f03e697591208c9aec37d439a59d37d4126abc6121
Description: Linux kernel nvidia modules for version 5.15.0-52
Description-md5: dbd98536671a99c02d1fc2af2982c92c