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

Last updated: November 13,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-390-5.4.0-152-generic
Architecture: amd64
Version: 5.4.0-152.169
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-152-generic | linux-image-unsigned-5.4.0-152-generic, linux-signatures-nvidia-5.4.0-152-generic (= 5.4.0-152.169), linux-objects-nvidia-390-5.4.0-152-generic (= 5.4.0-152.169), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-152-generic_5.4.0-152.169_amd64.deb
Size: 7132
MD5sum: 1d3b15e987a1bd1008726cdede296339
SHA1: 58e41443cf1ed26d7f76c7cc7286cd05e8092376
SHA256: 1afc767b882d094215d5a3ee0bb3967ee2dd5d2809e3dc8e873a4a8f7d6f4638
SHA512: 206e613ec954b96e94e6990fc17a4097a2902f382a567d88cb59055e6c10bd28668a6d30fef0da9570c3aa2ae121e132ee84c164701ea6cbcb4c64bd07cfad95
Description: Linux kernel nvidia modules for version 5.4.0-152
Description-md5: 8a389cefe5172ab8abb6992c30ed57a5