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

Last updated: November 25,2024

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

Please follow the guidance below to install linux-modules-nvidia-530-5.4.0-148-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-530-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-530-5.4.0-148-generic (= 5.4.0-148.165), nvidia-kernel-common-530 (>= 530.41.03)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-530-5.4.0-148-generic_5.4.0-148.165_amd64.deb
Size: 7128
MD5sum: 0512bed840e1f109a4ca1aaaac7f959b
SHA1: 1e19e849f4bce42e55e1fead62edc7fdbc05689e
SHA256: ecc2caf36ac795502ac4e2235d7fc19671de87a1ff216e6f4c2cb5d2359af3c6
SHA512: 04ce13b6050ff24fb90f74a0e8a923dd257cb4a51ea4d1b707e8567fbafa92786dc6183e250bfa2feee24260a23b03c5497895f51589358eb04adccedec36469
Description: Linux kernel nvidia modules for version 5.4.0-148
Description-md5: fa2e02d2875d74b0920b175cf602fb09