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

Last updated: November 26,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-510-5.4.0-97-generic
Architecture: amd64
Version: 5.4.0-97.110~18.04.1+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.4
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-97-generic | linux-image-unsigned-5.4.0-97-generic, linux-signatures-nvidia-5.4.0-97-generic (= 5.4.0-97.110~18.04.1+1), linux-objects-nvidia-510-5.4.0-97-generic (= 5.4.0-97.110~18.04.1+1), nvidia-kernel-common-510 (<= 510.47.03-1), nvidia-kernel-common-510 (>= 510.47.03)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-510-5.4.0-97-generic_5.4.0-97.110~18.04.1+1_amd64.deb
Size: 7144
MD5sum: 1070522d9a95d2b6ba244c3073986c0e
SHA1: daa3a77015a75cf46839400fbe5324d126bba214
SHA256: 9583cb6e3182812b67d1ba1f53d621af329c3b7c735dba4da44a6b05bd3cadd5
SHA512: edd27a4d30aa52548fac608b1723d9b28fcaad5a20f86fb653de00b4cb4a146be140d98b6dfd7622cd38c074a98bde110115e1cfba7fa80a138dae4097715535
Description: Linux kernel nvidia modules for version 5.4.0-97
Description-md5: 985fe105b06b6f3426985b459d89e04e
Supported: 5y