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

Last updated: November 28,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-510-5.4.0-139-generic
Architecture: amd64
Version: 5.4.0-139.156
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-139-generic | linux-image-unsigned-5.4.0-139-generic, linux-signatures-nvidia-5.4.0-139-generic (= 5.4.0-139.156), linux-objects-nvidia-510-5.4.0-139-generic (= 5.4.0-139.156), nvidia-kernel-common-510 (<= 510.108.03-1), nvidia-kernel-common-510 (>= 510.108.03)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-510-5.4.0-139-generic_5.4.0-139.156_amd64.deb
Size: 7140
MD5sum: fef3eab3fb6900ffbbb336adfa91e8b3
SHA1: d3eedff7b8b9861ef5681365e5bbd3325aa63721
SHA256: bf71ef2f55ce669e6fd3bdcde91ddbd6298f7e0bb2bb941008e3d37870a16ab6
SHA512: eb431c98208b406ca73212c120020fff6fb6f55c48a9a94579d743087a51b36daf537961da6be0178139404e83bdba2c812a54da721684a9905d3438ae027ab4
Description: Linux kernel nvidia modules for version 5.4.0-139
Description-md5: 295fab142f9a26a0fe28114a375e10f0