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

Last updated: December 27,2024

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

This guide covers the steps necessary to install linux-modules-nvidia-515-5.4.0-121-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-515-5.4.0-121-generic
Architecture: amd64
Version: 5.4.0-121.137+1
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-121-generic | linux-image-unsigned-5.4.0-121-generic, linux-signatures-nvidia-5.4.0-121-generic (= 5.4.0-121.137+1), linux-objects-nvidia-515-5.4.0-121-generic (= 5.4.0-121.137+1), nvidia-kernel-common-515 (<= 515.48.07-1), nvidia-kernel-common-515 (>= 515.48.07)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-515-5.4.0-121-generic_5.4.0-121.137+1_amd64.deb
Size: 7132
MD5sum: c41bed5e410baa9502a90d0742beb44c
SHA1: 5a13b202f287ddd0f69dd5030ace7469a393a00d
SHA256: 3d0322a9f8bd77a020bab1975dcd4a3b82624f3ca5c30c535b5c1cb657c6fef6
SHA512: 6b2d7dfd99601999dba21eb3e3f375578277040805a899666b2343c7c34fb7013a7d27a29c5471cd3f20cffdf9ff2cd533f15431620408c0ccfc1a1a6ba6e4a7
Description: Linux kernel nvidia modules for version 5.4.0-121
Description-md5: 3e520496bebf37bb43fb3996cfeea064