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

Last updated: July 02,2024

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

Please follow the guidance below to install linux-modules-nvidia-390-5.8.0-40-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-390-5.8.0-40-generic
Architecture: amd64
Version: 5.8.0-40.45~20.04.1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.8
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 24889
Depends: debconf (>= 0.5) | debconf-2.0, binutils, linux-image-5.8.0-40-generic | linux-image-unsigned-5.8.0-40-generic
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.8/linux-modules-nvidia-390-5.8.0-40-generic_5.8.0-40.45~20.04.1_amd64.deb
Size: 9269720
MD5sum: e180aac0253f032e202003e19c1042c9
SHA1: 4812c800c6131f8e5e670789c3fc4b7ab82c80b6
SHA256: c3f9022d759ae011dcfb5ed1854602deeafbdaad91c1d0dcd39308cdf21d21e0
SHA512: 5a1d0c4476350ee246783274958e6334cd10de9f9b502f55118afbee26884b8b4ece70b98ab25b4f2fa3a0c81ee49c43a71b4d92bcc880df67cf5cfb081b36db
Description: Linux kernel nvidia modules for version 5.8.0-40
Description-md5: 658582b67b5442e4c731f65836b6ba24