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

Last updated: November 14,2024

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

This is a short guide on how to install linux-modules-nvidia-390-5.4.0-165-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-390-5.4.0-165-generic
Architecture: amd64
Version: 5.4.0-165.182
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-165-generic | linux-image-unsigned-5.4.0-165-generic, linux-signatures-nvidia-5.4.0-165-generic (= 5.4.0-165.182), linux-objects-nvidia-390-5.4.0-165-generic (= 5.4.0-165.182), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-165-generic_5.4.0-165.182_amd64.deb
Size: 7144
MD5sum: d54a679239614927289f084ed2410846
SHA1: b3606c2308ea86f54d889f7d7959481ca8d54727
SHA256: eb28d28a89c51e2924466ea0443664509c76da61193fe0bd0915a6a12d12f84e
SHA512: b882eae76d9066c9350bc5e0d880a05d80bcf839ac08e93acde1366cc71f3e88d49bff7d7a5977c2adef60ccab79990d46a140b415e3d70bcf393dfcd84ea34c
Description: Linux kernel nvidia modules for version 5.4.0-165
Description-md5: 5d18c80a8423cf610ad89fb29a800440