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

Last updated: November 26,2024

1. Install "linux-modules-nvidia-510-server-5.13.0-40-generic" package

Please follow the guidance below to install linux-modules-nvidia-510-server-5.13.0-40-generic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-510-server-5.13.0-40-generic

2. Uninstall "linux-modules-nvidia-510-server-5.13.0-40-generic" package

Please follow the steps below to uninstall linux-modules-nvidia-510-server-5.13.0-40-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-510-server-5.13.0-40-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-510-server-5.13.0-40-generic
Architecture: amd64
Version: 5.13.0-40.45~20.04.1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.13
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.13.0-40-generic | linux-image-unsigned-5.13.0-40-generic, linux-signatures-nvidia-5.13.0-40-generic (= 5.13.0-40.45~20.04.1), linux-objects-nvidia-510-server-5.13.0-40-generic (= 5.13.0-40.45~20.04.1), nvidia-kernel-common-510-server (<= 510.47.03-1), nvidia-kernel-common-510-server (>= 510.47.03)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.13/linux-modules-nvidia-510-server-5.13.0-40-generic_5.13.0-40.45~20.04.1_amd64.deb
Size: 7172
MD5sum: 370253fae2e84e9efd83e49c1e85df6c
SHA1: 759a1d28425a0cb93034c25f8eefe88df1e2c511
SHA256: dd24758873dfb372aac92aa483c66fac7f3898601bb3ff46ac991a8277925d48
SHA512: b2160213eaab8b3068e82989631be93cc59a667fb325bc3c86cf66967962f058e34571f97f1fcbda9756e68f2dcdd2ac40e902c752cf3c007d1edc3e027b5654
Description: Linux kernel nvidia modules for version 5.13.0-40
Description-md5: 2cef91acb1f97cbca83c0388d35a5e39