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

Last updated: December 26,2024

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

Here is a brief guide to show you how to install linux-modules-nvidia-470-5.4.0-159-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

This tutorial shows how to uninstall linux-modules-nvidia-470-5.4.0-159-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-470-5.4.0-159-generic
Architecture: amd64
Version: 5.4.0-159.176
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-159-generic | linux-image-unsigned-5.4.0-159-generic, linux-signatures-nvidia-5.4.0-159-generic (= 5.4.0-159.176), linux-objects-nvidia-470-5.4.0-159-generic (= 5.4.0-159.176), nvidia-kernel-common-470 (>= 470.199.02)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-470-5.4.0-159-generic_5.4.0-159.176_amd64.deb
Size: 7140
MD5sum: d8d4343d5215dea7b4e7af093a90ae41
SHA1: d0b52ba546cf01cbbc1ecb962184955cec74b328
SHA256: 19d82a3812f89a1bc0c2afc74f76902b77111b40cb1db6395bbc2bc639016693
SHA512: a43bc7810af4cea5d723ac242be850feae77003f3131cbb7ec091b654bba2a524b92b89938a6d159b3d4c40f9e044e2c4cd3153b649c0a038adab08232797609
Description: Linux kernel nvidia modules for version 5.4.0-159
Description-md5: bf4dfcfcf9a78d5107652d94823528a7