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

Last updated: December 29,2024

1. Install "linux-modules-nvidia-510-5.15.0-50-generic" package

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

$ sudo apt update $ sudo apt install linux-modules-nvidia-510-5.15.0-50-generic

2. Uninstall "linux-modules-nvidia-510-5.15.0-50-generic" package

Here is a brief guide to show you how to uninstall linux-modules-nvidia-510-5.15.0-50-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-510-5.15.0-50-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-510-5.15.0-50-generic
Architecture: amd64
Version: 5.15.0-50.56~20.04.1+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.15
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.15.0-50-generic | linux-image-unsigned-5.15.0-50-generic, linux-signatures-nvidia-5.15.0-50-generic (= 5.15.0-50.56~20.04.1+1), linux-objects-nvidia-510-5.15.0-50-generic (= 5.15.0-50.56~20.04.1+1), nvidia-kernel-common-510 (<= 510.85.02-1), nvidia-kernel-common-510 (>= 510.85.02)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.15/linux-modules-nvidia-510-5.15.0-50-generic_5.15.0-50.56~20.04.1+1_amd64.deb
Size: 7140
MD5sum: 580b315b2a44d818c1d47b46a988ec25
SHA1: 957c148aa6070f9caa0d2e0a777fc31053a05a9e
SHA256: 3667c02ebc541da72c265a5259e51b9de918383c78cc1788f85414798c146889
SHA512: 9b2ac822fc22887525041650b7e4fa359f57d055f2ca58c6afd53829e776799f98002d01276a4fbd82a679931468d378f131e17a6bb906a4f8e01a488a6c0dda
Description: Linux kernel nvidia modules for version 5.15.0-50
Description-md5: 1048db9e85013b53b3098e751ad128d2