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

Last updated: November 23,2024

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

In this section, we are going to explain the necessary steps to install linux-modules-nvidia-390-5.4.0-148-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

This tutorial shows how to uninstall linux-modules-nvidia-390-5.4.0-148-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-390-5.4.0-148-generic
Architecture: amd64
Version: 5.4.0-148.165
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-148-generic | linux-image-unsigned-5.4.0-148-generic, linux-signatures-nvidia-5.4.0-148-generic (= 5.4.0-148.165), linux-objects-nvidia-390-5.4.0-148-generic (= 5.4.0-148.165), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-148-generic_5.4.0-148.165_amd64.deb
Size: 7132
MD5sum: 848e2877eeaf8ace94e5af23a3857984
SHA1: b8bd7f4b46597d42bbececdb98dbbcc62b8b8010
SHA256: 46e4bb7ac2222c4019630cab0cd7337354f15bb12775fc90a5691aa45b01c31a
SHA512: 35c6b725462ba2bdd808e0177277c5a5622ee1841e98e83c2f2e5fb805bfd424bc975e1c49ff8214f2e76b72f190d964d371c346bac60202c38896f723d383c8
Description: Linux kernel nvidia modules for version 5.4.0-148
Description-md5: 1af70198d9ef39673cc21e57c8be8e3d