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

Last updated: November 24,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-515-server-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-server-5.4.0-125-generic (= 5.4.0-125.141), nvidia-kernel-common-515-server (<= 515.65.01-1), nvidia-kernel-common-515-server (>= 515.65.01)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-515-server-5.4.0-125-generic_5.4.0-125.141_amd64.deb
Size: 7140
MD5sum: 7b8922193a353604befdfdd857b3d545
SHA1: 41c3f1e7795259168f3ead5886ecf1a7bf3106c4
SHA256: fb1ed40b8a29a0da098250ac1e845617f8aea5cb92eb1126f570ed8d68f8ae2a
SHA512: f9ae20c13266f64fadd260371db4927d28ff5ba553cf5afca9f617b2ea7445b5044f0d58f6672dad676b2d2ae37bf1bb6fda80eb418d2e1c201f0675d439a04d
Description: Linux kernel nvidia modules for version 5.4.0-125
Description-md5: 9342a665656c58ce83bcb03d919564f5