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

Last updated: November 13,2024

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

In this section, we are going to explain the necessary steps to install linux-modules-nvidia-390-5.4.0-139-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-390-5.4.0-139-generic
Architecture: amd64
Version: 5.4.0-139.156
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
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.4.0-139-generic | linux-image-unsigned-5.4.0-139-generic, linux-signatures-nvidia-5.4.0-139-generic (= 5.4.0-139.156), linux-objects-nvidia-390-5.4.0-139-generic (= 5.4.0-139.156), nvidia-kernel-common-390 (<= 390.157-1), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-139-generic_5.4.0-139.156_amd64.deb
Size: 7136
MD5sum: af0c81b894bd97f9e8acb9f54b1a1721
SHA1: 049e0b6479225941e6a23a1b551093b0e97777dc
SHA256: 6d9af09f61a1e84ad8ea917ee344389d12475c643704c49b41da00e8b640a173
SHA512: e78de0a296acd33c1b063c5aabca0e82bb1b505c7d79932a5c19c2a567c08b34f33028513c7d214a31341b788916dc96fa54e37801f07809d4088aaa920a2af5
Description: Linux kernel nvidia modules for version 5.4.0-139
Description-md5: cc8d36ba9a19071f2cee911a38028b11