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

Last updated: November 14,2024

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

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

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

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

This is a short guide on how to uninstall linux-modules-nvidia-470-5.4.0-148-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-470-5.4.0-148-generic
Architecture: amd64
Version: 5.4.0-148.165
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-148-generic | linux-image-unsigned-5.4.0-148-generic, linux-signatures-nvidia-5.4.0-148-generic (= 5.4.0-148.165), linux-objects-nvidia-470-5.4.0-148-generic (= 5.4.0-148.165), nvidia-kernel-common-470 (>= 470.182.03)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-470-5.4.0-148-generic_5.4.0-148.165_amd64.deb
Size: 7136
MD5sum: 932f58f91d5606c69309c524ec8811c9
SHA1: b7561ec9865139763d16462432935c8a71b57602
SHA256: 08667af626c27dfd134f18c354bfeb530d1cbe349c90f645eeee021e5ce45af2
SHA512: c54ef46f5ede26e4781403cb9eca26ed768b3bf307dfde787deebcac249620c87d184799641555c356ebfd7b3d9bf45aa5670b97edda380b0a77fab04942600b
Description: Linux kernel nvidia modules for version 5.4.0-148
Description-md5: 119e792efa9987fec1b44b8fcc2345f5