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

Last updated: November 24,2024

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

Please follow the step by step instructions below to install linux-modules-nvidia-390-5.4.0-159-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

Please follow the steps below to uninstall linux-modules-nvidia-390-5.4.0-159-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-390-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-390-5.4.0-159-generic (= 5.4.0-159.176), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-159-generic_5.4.0-159.176_amd64.deb
Size: 7148
MD5sum: 69fb1801cac87f59fc4981107520ed4a
SHA1: 49834e247d1f94361850a42116ddb5ecf1911cfb
SHA256: d54854744caaebecea9c07d14839b0d6d4d4f0cf030fbd7db6aa08eb8f6a537b
SHA512: 1b1ecaa92060b10f18bc5bdc2d4bb02209bcb8f726611c949a8171da40732438a61f279781bef5c16bcdf4088a0461ea2e537fd9ca7ba1c7f24018f3a222e807
Description: Linux kernel nvidia modules for version 5.4.0-159
Description-md5: 475e942d4fcca93ee66b900a86c07562