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

Last updated: November 24,2024

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

This guide let you learn how to install linux-modules-nvidia-510-5.4.0-122-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

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

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

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

Package: linux-modules-nvidia-510-5.4.0-122-generic
Architecture: amd64
Version: 5.4.0-122.138~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-122-generic | linux-image-unsigned-5.4.0-122-generic, linux-signatures-nvidia-5.4.0-122-generic (= 5.4.0-122.138~18.04.1+1), linux-objects-nvidia-510-5.4.0-122-generic (= 5.4.0-122.138~18.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.4/linux-modules-nvidia-510-5.4.0-122-generic_5.4.0-122.138~18.04.1+1_amd64.deb
Size: 7144
MD5sum: 9aa212ce51ace5e9aa4142a741df16e4
SHA1: b8d02f2ab5ca0f7e072baf8979e33092440cbb35
SHA256: 4e79f67984729a3489980f7f8db498104658753994ff389d206b9b1779090407
SHA512: b77c60bea9452ad04aea298e5f08216caca77e54841eefaceaedff77670fea063331c7cbbfaaa6cdb91b79c7a82857d0ea632841f92a9fb17bdb0b26253ec24b
Description: Linux kernel nvidia modules for version 5.4.0-122
Description-md5: b42775a06bf2afb59a08996c6e025361
Supported: 5y