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

Last updated: November 16,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-470-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-470-5.4.0-125-generic (= 5.4.0-125.141~18.04.1), nvidia-kernel-common-470 (<= 470.141.03-1), nvidia-kernel-common-470 (>= 470.141.03)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-470-5.4.0-125-generic_5.4.0-125.141~18.04.1_amd64.deb
Size: 7152
MD5sum: e81c9c91061a58b249490cb09b97f232
SHA1: 5dca264f5b00a805b2030f28c0f21b7207d0660a
SHA256: 7d6338b49036857c146341629a6a121b8b4e595aaf6f40a92e3e15357474c896
SHA512: c2a9238efd0756e243ac0d59c48a8fb6527c124923706deaa0beadec66e489a35535a7317cf31da3e8a235d4a6e1a7faeac0c5fdec7ff75ab821e333218a89cc
Description: Linux kernel nvidia modules for version 5.4.0-125
Description-md5: 29e17ded0fb5d5946dc6e457156f26d1
Supported: 5y