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

Last updated: November 24,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-390-5.4.0-125-generic
Architecture: amd64
Version: 5.4.0-125.141
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-125-generic | linux-image-unsigned-5.4.0-125-generic, linux-signatures-nvidia-5.4.0-125-generic (= 5.4.0-125.141), linux-objects-nvidia-390-5.4.0-125-generic (= 5.4.0-125.141), nvidia-kernel-common-390 (<= 390.154-1), nvidia-kernel-common-390 (>= 390.154)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-125-generic_5.4.0-125.141_amd64.deb
Size: 7136
MD5sum: 76bf130230df07b399cb310224c82cd1
SHA1: fc5042c434b4af7273f97fa47145ad0240b5aa88
SHA256: ed785d49f1b1158598a8597338a418b75ffeff802c85d416fbcd95a2038bc540
SHA512: 6a9d14e0857e74765ab4adeedde667b5d8afc178e226f02606f4827096bd23203298ccd71bfb9559d2000e3ab6d187a175d823e1ec351b3e996086ef6512d145
Description: Linux kernel nvidia modules for version 5.4.0-125
Description-md5: 36a7d1933fbc9a878d8e6dd7c2d668ce