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

Last updated: November 23,2024

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

Please follow the steps below to install linux-modules-nvidia-515-5.4.0-125-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-515-5.4.0-125-generic
Architecture: amd64
Version: 5.4.0-125.141
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-125-generic | linux-image-unsigned-5.4.0-125-generic, linux-signatures-nvidia-5.4.0-125-generic (= 5.4.0-125.141), linux-objects-nvidia-515-5.4.0-125-generic (= 5.4.0-125.141), 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-125-generic_5.4.0-125.141_amd64.deb
Size: 7132
MD5sum: 906843907cec5a538b6c90602f6fbfc9
SHA1: 66752a52533abee01d77f165abbd9acb9d1d123e
SHA256: dac58bf6aa14fcdf374d9fc55a61430372e4af4ba708634140162c15a3e9fe2d
SHA512: 0506906565340fd419979688ed7efff629fbcbeb570a123a659fd87b52ba37ebd65fd6128b66f0e32aa7644e0f1ae16501d06b46680a70a00f5763664e9c49e8
Description: Linux kernel nvidia modules for version 5.4.0-125
Description-md5: c9e285a8fe3d28b0c3c2b13edb678afc