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

Last updated: November 08,2024

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

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

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

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

Please follow the step by step instructions below to uninstall linux-modules-nvidia-470-server-5.4.0-156-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-470-server-5.4.0-156-generic
Architecture: amd64
Version: 5.4.0-156.173+2
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-156-generic | linux-image-unsigned-5.4.0-156-generic, linux-signatures-nvidia-5.4.0-156-generic (= 5.4.0-156.173+2), linux-objects-nvidia-470-server-5.4.0-156-generic (= 5.4.0-156.173+2), nvidia-kernel-common-470-server (>= 470.199.02)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-470-server-5.4.0-156-generic_5.4.0-156.173+2_amd64.deb
Size: 15048
MD5sum: b40cd0702b1503510a3a5da98541f3fc
SHA1: 09c40fed483743cdaa4e9c21b2ec6edef2a40953
SHA256: 1ffc7ec16a40f41c8545498a3fb77f21e96cb9545b048119010d73bb635f1ec2
SHA512: 2e7989b48351cad6013bfccb1cd8fac769466cfc234cccebbf10a385f5e42f35e851873ba23a4927c448477e7d1d356861565f00f0ec14e9980c5863bc4539a3
Description: Linux kernel nvidia modules for version 5.4.0-156
Description-md5: e1b7ad468b1d20afb251ac54f62d15a0