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

Last updated: December 27,2024

1. Install "linux-modules-nvidia-470-server-5.15.0-56-generic" package

In this section, we are going to explain the necessary steps to install linux-modules-nvidia-470-server-5.15.0-56-generic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-470-server-5.15.0-56-generic

2. Uninstall "linux-modules-nvidia-470-server-5.15.0-56-generic" package

Please follow the guidance below to uninstall linux-modules-nvidia-470-server-5.15.0-56-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-470-server-5.15.0-56-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-470-server-5.15.0-56-generic
Architecture: amd64
Version: 5.15.0-56.62~20.04.1+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.15
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 33
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.15.0-56-generic | linux-image-unsigned-5.15.0-56-generic, linux-signatures-nvidia-5.15.0-56-generic (= 5.15.0-56.62~20.04.1+1), linux-objects-nvidia-470-server-5.15.0-56-generic (= 5.15.0-56.62~20.04.1+1), nvidia-kernel-common-470-server (<= 470.161.03-1), nvidia-kernel-common-470-server (>= 470.161.03)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.15/linux-modules-nvidia-470-server-5.15.0-56-generic_5.15.0-56.62~20.04.1+1_amd64.deb
Size: 7156
MD5sum: c4f4b931dc9b939416ab98cf15fb17ec
SHA1: 051e1847512eb7837e3e51fdb984c77b1136a31e
SHA256: 0f9505ba7cda7821c9c1617dc2d6bc116be243ef201bcaa2e077e1ac39c43afb
SHA512: 4f5dd42bd8e2386c24d25f2f2ed1868ccc822ea6dc0481f95d73e552b9a6a269e413d21956fd84563e634b2549bfe82eca35646147ee21adaab56eac899c6b65
Description: Linux kernel nvidia modules for version 5.15.0-56
Description-md5: 1ac301d269c29c3e3c3e0d84322d8b5e