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

Last updated: November 14,2024

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

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

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

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

Please follow the guidelines below to uninstall linux-modules-nvidia-510-5.4.0-128-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-510-5.4.0-128-generic
Architecture: amd64
Version: 5.4.0-128.144+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-128-generic | linux-image-unsigned-5.4.0-128-generic, linux-signatures-nvidia-5.4.0-128-generic (= 5.4.0-128.144+1), linux-objects-nvidia-510-5.4.0-128-generic (= 5.4.0-128.144+1), 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-128-generic_5.4.0-128.144+1_amd64.deb
Size: 7136
MD5sum: bee9d0c4089266d2ffef0d6f9fe871fe
SHA1: 1fa4bef277f31fe3cad512e025b573d59ee3d731
SHA256: ade3218e7647a08358f76ecec14ce80750514581ed1a6733f216a3f691157eeb
SHA512: 2223de24f6bbab3b31be8929252fb2ec3958f85d1cb3b6bb00f0b2b1ff63bd013b7fc5708d94ea1a56ebcb76ec2cfd16caf946f65e86f9bf1ef5280ff55b2268
Description: Linux kernel nvidia modules for version 5.4.0-128
Description-md5: 4d22f8b507ee36f2f154f81802fed3f1