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

Last updated: December 26,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-515-5.4.0-135-generic
Architecture: amd64
Version: 5.4.0-135.152+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-135-generic | linux-image-unsigned-5.4.0-135-generic, linux-signatures-nvidia-5.4.0-135-generic (= 5.4.0-135.152+1), linux-objects-nvidia-515-5.4.0-135-generic (= 5.4.0-135.152+1), nvidia-kernel-common-515 (<= 515.86.01-1), nvidia-kernel-common-515 (>= 515.86.01)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-515-5.4.0-135-generic_5.4.0-135.152+1_amd64.deb
Size: 7132
MD5sum: 15ece7353de4122cfe2dc00f2cdb36da
SHA1: a9c8fc1a0a5c785baa1817f34f2b47728c6d55e8
SHA256: e2ed416735115587af1a4a6ece9aa9e5ae62256c0646eb0fc9e223e6a0397351
SHA512: bb8db5dd07dbd657965099f503030e3ed02370bd6c72d4494b1f03bdf7f1680372e9ea86053ce17edbc0a64d6d67a37074786288bf1bcfa747acdd9a5fa74c04
Description: Linux kernel nvidia modules for version 5.4.0-135
Description-md5: aac1a44e0fb458420d8d771c9a56784a