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

Last updated: November 27,2024

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

Learn how to install linux-modules-nvidia-390-5.4.0-40-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-390-5.4.0-40-generic
Architecture: amd64
Version: 5.4.0-40.44
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 24863
Depends: debconf (>= 0.5) | debconf-2.0, binutils, linux-image-5.4.0-40-generic | linux-image-unsigned-5.4.0-40-generic, nvidia-kernel-common-390
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-40-generic_5.4.0-40.44_amd64.deb
Size: 9274880
MD5sum: 1413c642f53253748a9673f8f1404735
SHA1: 7d34e73942d5e3d822b4e68111798737e7a2aa29
SHA256: 38ace020172e8f62794bd6cb5f254d4d2e201938d7db2d922ca40ba419a2269d
SHA512: 12fddab4e0e77b0779f52713842d0d51ac0a8b7c652450f83f0263139c11a7fabad55e0bd5b39437e0bd27749c6aa2ad2de01f8dfdd05ae59507ab835c7f880d
Description: Linux kernel nvidia modules for version 5.4.0-40
Description-md5: 37c7941efbbfd0c5a2c9b1ccee5a8445