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

Last updated: November 27,2024

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

In this section, we are going to explain the necessary steps to install linux-modules-nvidia-515-5.4.0-152-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-515-5.4.0-152-generic
Architecture: amd64
Version: 5.4.0-152.169
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-152-generic | linux-image-unsigned-5.4.0-152-generic, linux-signatures-nvidia-5.4.0-152-generic (= 5.4.0-152.169), linux-objects-nvidia-515-5.4.0-152-generic (= 5.4.0-152.169), nvidia-kernel-common-515 (>= 515.105.01)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-515-5.4.0-152-generic_5.4.0-152.169_amd64.deb
Size: 7128
MD5sum: 852c09f88255bd2c67454af16df4639e
SHA1: 0079d408f8bd8d5f468eae0ded3df7aa565e7d31
SHA256: dba35379cb1fb532ea4bc478c27350c82084b49da9e69a966bb9605386b7776d
SHA512: 1239e2625274ff079d55b4da8c542c08101f943925059b9ac544890a158cdecc7ef7e2a31463aeec87e9f9d3b384b99dda3ebfe3d96a398b7cfdc1d0e35e98eb
Description: Linux kernel nvidia modules for version 5.4.0-152
Description-md5: 7f7c2b43cec0bc614b822c6c1919046a