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

Last updated: November 25,2024

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

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

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

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

Here is a brief guide to show you how to uninstall linux-modules-nvidia-515-5.4.0-150-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-515-5.4.0-150-generic
Architecture: amd64
Version: 5.4.0-150.167+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: 34
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-150-generic | linux-image-unsigned-5.4.0-150-generic, linux-signatures-nvidia-5.4.0-150-generic (= 5.4.0-150.167+1), linux-objects-nvidia-515-5.4.0-150-generic (= 5.4.0-150.167+1), nvidia-kernel-common-515 (>= 515.105.01)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-515-5.4.0-150-generic_5.4.0-150.167+1_amd64.deb
Size: 14724
MD5sum: 2f65447a355d81d31ab298b23d3c0f0c
SHA1: e47c7c59aef408700c16379ca2392d032543adb2
SHA256: 675bc59b48291cf0724ffe58993eb277420d6885e8d085e1d971b1f3a2e3e20e
SHA512: 342e4bb93091952d3b935d641b86cea0f871e0742a2eb72bd054d8c27100eb71cb8abc83c157be06605088a08d52df0011721e3e778f2a7b18307be8bfb95db7
Description: Linux kernel nvidia modules for version 5.4.0-150
Description-md5: fa8bf995aaa44e7399b4867252f3af50