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

Last updated: December 27,2024

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

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

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

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

Please follow the guidelines below to uninstall linux-modules-nvidia-470-5.4.0-149-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-470-5.4.0-149-generic
Architecture: amd64
Version: 5.4.0-149.166
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-149-generic | linux-image-unsigned-5.4.0-149-generic, linux-signatures-nvidia-5.4.0-149-generic (= 5.4.0-149.166), linux-objects-nvidia-470-5.4.0-149-generic (= 5.4.0-149.166), nvidia-kernel-common-470 (>= 470.182.03)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-470-5.4.0-149-generic_5.4.0-149.166_amd64.deb
Size: 7136
MD5sum: 91c799316a067abe786df7e8040ff21b
SHA1: 45381342718f791a970e300872e6edff4635a08f
SHA256: bd141ec8211b661264691775b97d9471303bbff1fc0ee23daf662840c141d413
SHA512: 355fac0875a34624830ff86118c16c0e0dbceb0aa03e39f274cc97a09c4b2f5270b15bcc0c821a3197ccbde2f56d9e60076dd1b72bf5e0c8dfcb737521d341d6
Description: Linux kernel nvidia modules for version 5.4.0-149
Description-md5: 44b2f13326b95150d3e10e0ed390432d