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

Last updated: November 25,2024

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

Here is a brief guide to show you how to install linux-modules-nvidia-510-5.4.0-125-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

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

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

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

Package: linux-modules-nvidia-510-5.4.0-125-generic
Architecture: amd64
Version: 5.4.0-125.141~18.04.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-125-generic | linux-image-unsigned-5.4.0-125-generic, linux-signatures-nvidia-5.4.0-125-generic (= 5.4.0-125.141~18.04.1), linux-objects-nvidia-510-5.4.0-125-generic (= 5.4.0-125.141~18.04.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-125-generic_5.4.0-125.141~18.04.1_amd64.deb
Size: 7148
MD5sum: 0a7a35ba4512495096fe4bdeb303b6e2
SHA1: 1b82500da354495bbdaaabc7b5ae52841e1a8678
SHA256: c273107955708a6433f4d8b5bb54ff5bf7bf459e804f3935c7ad0a6388604580
SHA512: 925cf22581e4f21d61455c93d83aea349a9f73ac73b1abc77f4688d7afbad0e3c476b4f0a5096aed35117cc3f3122a305395a685dfb3c3a4878d1f595f377c60
Description: Linux kernel nvidia modules for version 5.4.0-125
Description-md5: 310a7494575ceca41a93708bbfb95d77
Supported: 5y