How to Install and Uninstall linux-modules-nvidia-510-generic Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 22,2024

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

This is a short guide on how to install linux-modules-nvidia-510-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

Please follow the guidelines below to uninstall linux-modules-nvidia-510-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the linux-modules-nvidia-510-generic package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: linux-modules-nvidia-510-generic
Architecture: amd64
Version: 4.15.0-192.203+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: 22
Provides: nvidia-dkms-510 (= 510.85.02-0ubuntu0.18.04.1), nvidia-prebuilt-kernel
Depends: linux-modules-nvidia-510-4.15.0-192-generic (= 4.15.0-192.203+1), nvidia-kernel-common-510 (<= 510.85.02-1), nvidia-kernel-common-510 (>= 510.85.02)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-510-generic_4.15.0-192.203+1_amd64.deb
Size: 5484
MD5sum: 96a171b53262f0b2ee1101e4e48cb233
SHA1: 55463fce5a1c4013c962409330e8cbb9a1d712c7
SHA256: d8baf794bb721ebff2c50cef6c918f6537a48692988d6a75320b417bc1c11955
SHA512: d992d860b632051fc2a9c556ffd8010b3ce204960dcc2efb12460f7750712eb0bdddcad68b00c422ca9fe3f8309d52481f7579c12ab7c1fa0d456aeb16528c7c
Description: Extra drivers for nvidia-510 for the generic flavour
Description-md5: 980b0c7acffed7c8dbba02f3b8c1fecc
Supported: 5y