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

Last updated: November 24,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-510-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-510-5.4.0-125-generic (= 5.4.0-125.141), nvidia-kernel-common-510 (<= 510.85.02-1), nvidia-kernel-common-510 (>= 510.85.02)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-510-5.4.0-125-generic_5.4.0-125.141_amd64.deb
Size: 7132
MD5sum: 62247218c4fdc27af8e086b54d8156e3
SHA1: 495e3bca3e271f07cf43694608f29e32f8dd3713
SHA256: c856423be62b827ddb1a6e6137676dcbc7f849b1b7cccfafea9a77df156e050a
SHA512: 41045f1d5b4a23e6689e4d108a2790efa86cc1b3ea3a4fdb27ce3f8c8b00af6840b0e2a1e9be8e75751053e342015541844f51b52c16e45dcc2f341da8b61afb
Description: Linux kernel nvidia modules for version 5.4.0-125
Description-md5: 310a7494575ceca41a93708bbfb95d77