How to Install and Uninstall linux-modules-nvidia-515-5.4.0-122-generic Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: December 29,2024

1. Install "linux-modules-nvidia-515-5.4.0-122-generic" package

This tutorial shows how to install linux-modules-nvidia-515-5.4.0-122-generic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-515-5.4.0-122-generic

2. Uninstall "linux-modules-nvidia-515-5.4.0-122-generic" package

Please follow the guidance below to uninstall linux-modules-nvidia-515-5.4.0-122-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-515-5.4.0-122-generic $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-modules-nvidia-515-5.4.0-122-generic package on Ubuntu 20.04 LTS (Focal Fossa)

Package: linux-modules-nvidia-515-5.4.0-122-generic
Architecture: amd64
Version: 5.4.0-122.138+2
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
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.4.0-122-generic | linux-image-unsigned-5.4.0-122-generic, linux-signatures-nvidia-5.4.0-122-generic (= 5.4.0-122.138+2), linux-objects-nvidia-515-5.4.0-122-generic (= 5.4.0-122.138+2), nvidia-kernel-common-515 (<= 515.65.01-1), nvidia-kernel-common-515 (>= 515.65.01)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-515-5.4.0-122-generic_5.4.0-122.138+2_amd64.deb
Size: 7128
MD5sum: b14ad51b857e7c05b4d249adac4fae15
SHA1: 14593251a8d71c8a63dab6b72745859c068a68c7
SHA256: 89fd32cf3759ad53c84304f97426d8a8bdc3f68e65c5d12c62cd0e66f943babb
SHA512: c81176acd4f4e41011b17e46a679d2494c66ee402a1c2c52fb111af02ed742800862fda61652cc75e18014f236225f1413b62f82ba0e98287d132629e57a2d6e
Description: Linux kernel nvidia modules for version 5.4.0-122
Description-md5: ecd894c7a6893e0b8de4af3d4e1b6de9