How to Install and Uninstall linux-modules-nvidia-470-5.4.0-150-generic Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 24,2024

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

Please follow the guidance below to install linux-modules-nvidia-470-5.4.0-150-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

This tutorial shows how to uninstall linux-modules-nvidia-470-5.4.0-150-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the linux-modules-nvidia-470-5.4.0-150-generic package on Ubuntu 20.04 LTS (Focal Fossa)

Package: linux-modules-nvidia-470-5.4.0-150-generic
Architecture: amd64
Version: 5.4.0-150.167+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-150-generic | linux-image-unsigned-5.4.0-150-generic, linux-signatures-nvidia-5.4.0-150-generic (= 5.4.0-150.167+1), linux-objects-nvidia-470-5.4.0-150-generic (= 5.4.0-150.167+1), nvidia-kernel-common-470 (>= 470.182.03)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-470-5.4.0-150-generic_5.4.0-150.167+1_amd64.deb
Size: 14724
MD5sum: 1a6b0bd11d5c3dfc1ca8aa32710ec081
SHA1: 92db42592a5ae08fd774ec1457f4d7788ae6e9ff
SHA256: ce44ddf36ab64698f728b57b7f646661a625535f85902c2ade961f897d74bc91
SHA512: 977dee787d1173592be311423410505ecb6661262baed994e6c5528dcd2b9557717e457a8bc5d55f0e2b739c9559ce773004f815afa58b551d9a94565857bb34
Description: Linux kernel nvidia modules for version 5.4.0-150
Description-md5: a0e163b9268d1ff78d53f5c7ce58d200