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

Last updated: December 26,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-470-5.4.0-170-generic
Architecture: amd64
Version: 5.4.0-170.188+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-170-generic | linux-image-unsigned-5.4.0-170-generic, linux-signatures-nvidia-5.4.0-170-generic (= 5.4.0-170.188+1), linux-objects-nvidia-470-5.4.0-170-generic (= 5.4.0-170.188+1), nvidia-kernel-common-470 (>= 470.223.02)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-470-5.4.0-170-generic_5.4.0-170.188+1_amd64.deb
Size: 15160
MD5sum: 5cef6f217d7605b4c0646a2eafd2f420
SHA1: 9be66fd8ff2512e99dc72d559362b5c8bb5b1ff0
SHA256: 88b329e75c69b110d80d1a9486dc20a63121e5c430ee76ab7688e4ebc45bd325
SHA512: 939818da2a4bed0523ab63fafb1df68a2e9ba88af9de0ff169a8a17d4480ce3ab69a5063a6e277b8fcd59de537e568905088ba6fd2142b8976568add84a75b59
Description: Linux kernel nvidia modules for version 5.4.0-170
Description-md5: 82c915db1e5ff1d5352d3003791ca7de