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

Last updated: November 27,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-510-5.15.0-46-generic
Architecture: amd64
Version: 5.15.0-46.49~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-46-generic | linux-image-unsigned-5.15.0-46-generic, linux-signatures-nvidia-5.15.0-46-generic (= 5.15.0-46.49~20.04.1+1), linux-objects-nvidia-510-5.15.0-46-generic (= 5.15.0-46.49~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-46-generic_5.15.0-46.49~20.04.1+1_amd64.deb
Size: 7144
MD5sum: 2ab95f10018d1765b2eb9acfc55a6da8
SHA1: 428a4b5fac7c91f7ed5d5c287b2a5ecedc11a87a
SHA256: 01ba73d0959b9d63a9af238c3e9d171ae9ab3c3b61c447e9101eda655c5b0691
SHA512: f13a156b8467616d174a905bd13110773001bfe849d261307b1b345b917816d4588a8e68df0595afe65939884754ddd69ae1920e55da02eb30b7deeb5a4a2c94
Description: Linux kernel nvidia modules for version 5.15.0-46
Description-md5: 5b660125b10b803a49e9e67d7a3206b5