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

Last updated: November 24,2024

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

Learn how to install linux-modules-nvidia-515-5.4.0-125-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

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

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

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

Package: linux-modules-nvidia-515-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-515-5.4.0-125-generic (= 5.4.0-125.141~18.04.1), nvidia-kernel-common-515 (<= 515.65.01-1), nvidia-kernel-common-515 (>= 515.65.01)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-515-5.4.0-125-generic_5.4.0-125.141~18.04.1_amd64.deb
Size: 7148
MD5sum: 87e00091e3ba495fce69adfb3ead94c7
SHA1: 995e0568f58caa183500753cbbc4cc56067a70ac
SHA256: 42870f7a66b55ad5e24fccb5a289213d5ab563be68f2c6d31f050f3a7578d1ac
SHA512: 86849d0f1c9e4beed0be9560cb96902624eafa1e73059db6edf7e6f1ae1f31767f81448ad10166bb77b8f35e82f88d311d1bb3218e7172131e1612026de7f70a
Description: Linux kernel nvidia modules for version 5.4.0-125
Description-md5: c9e285a8fe3d28b0c3c2b13edb678afc
Supported: 5y