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

Last updated: November 15,2024

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

This tutorial shows how to install linux-modules-nvidia-510-5.15.0-57-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

Please follow the step by step instructions below to uninstall linux-modules-nvidia-510-5.15.0-57-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-510-5.15.0-57-generic
Architecture: amd64
Version: 5.15.0-57.63~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: 34
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.15.0-57-generic | linux-image-unsigned-5.15.0-57-generic, linux-signatures-nvidia-5.15.0-57-generic (= 5.15.0-57.63~20.04.1+1), linux-objects-nvidia-510-5.15.0-57-generic (= 5.15.0-57.63~20.04.1+1), nvidia-kernel-common-510 (<= 510.108.03-1), nvidia-kernel-common-510 (>= 510.108.03)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.15/linux-modules-nvidia-510-5.15.0-57-generic_5.15.0-57.63~20.04.1+1_amd64.deb
Size: 7148
MD5sum: d34c84113997bfcd6d4be624a4191630
SHA1: 93fd0f8d3ea56e745c8ee1452e5495f56e1b250e
SHA256: 2c80411689f3b7d0aae78b52aff17e8965446164b5d2b92f43b2f73560eee047
SHA512: 034dc8224813be2a31d9b9521cae98065512ada30b1bcdc7d03934a6a2091f8afeee4b8cfb972d42e37b074e6385db9529f4529693109ec9950566f4edb15d1f
Description: Linux kernel nvidia modules for version 5.15.0-57
Description-md5: 082457e3d2fc5c395f1f1a4093f48f12