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

Last updated: November 27,2024

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

This is a short guide on how to install linux-modules-nvidia-510-5.4.0-147-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-510-5.4.0-147-generic
Architecture: amd64
Version: 5.4.0-147.164+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: 34
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-147-generic | linux-image-unsigned-5.4.0-147-generic, linux-signatures-nvidia-5.4.0-147-generic (= 5.4.0-147.164+1), linux-objects-nvidia-510-5.4.0-147-generic (= 5.4.0-147.164+1), nvidia-kernel-common-510 (>= 510.108.03)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-510-5.4.0-147-generic_5.4.0-147.164+1_amd64.deb
Size: 7132
MD5sum: 257ccc513d10caefc8c1ce0bbf860e19
SHA1: a8e2d75c83ea795a8ae6d174841d48283b718ffd
SHA256: b0bb5f16498833193c66cdbb230e3cdad141757e702fe77cf9246416d7b308dd
SHA512: 3de397a642293171f740b4b62f6df1a712b31a1d0a572ac098808b5a43ce6f9242e47b803a4ef1b0112f7f04ad0d1842bbdc17fbaa4310ed2d6a46a5cbb4eb1b
Description: Linux kernel nvidia modules for version 5.4.0-147
Description-md5: 49022694d7ce7aa083ff857cead9c7df