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

Last updated: November 24,2024

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

This tutorial shows how to install linux-modules-nvidia-510-server-5.4.0-122-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

This is a short guide on how to uninstall linux-modules-nvidia-510-server-5.4.0-122-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: linux-modules-nvidia-510-server-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-server-5.4.0-122-generic (= 5.4.0-122.138~18.04.1+1), nvidia-kernel-common-510-server (<= 510.85.02-1), nvidia-kernel-common-510-server (>= 510.85.02)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-510-server-5.4.0-122-generic_5.4.0-122.138~18.04.1+1_amd64.deb
Size: 7156
MD5sum: 190c69f4b4a8300693e248bf877be0dd
SHA1: af5189bc2fdff2ad5d0caad9b5dc479339924921
SHA256: c2a1af53c26f52f45ff042da4c5c78adc13817e12398343b9e17a8342a4c2186
SHA512: b7d03ec1098d136b4f2965b46403bbe188d967d88b1add6a0b54fd39ee695ef1726719b2ed8af0f5e8ca2bda09c874a6db043bf7286f9078b6d9232d81d89a41
Description: Linux kernel nvidia modules for version 5.4.0-122
Description-md5: c5f1b4b721ea0eb88f85bf73245edaa9
Supported: 5y