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

Last updated: December 28,2024

1. Install "linux-modules-nvidia-525-5.4.0-146-generic" package

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

$ sudo apt update $ sudo apt install linux-modules-nvidia-525-5.4.0-146-generic

2. Uninstall "linux-modules-nvidia-525-5.4.0-146-generic" package

Please follow the steps below to uninstall linux-modules-nvidia-525-5.4.0-146-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-525-5.4.0-146-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-525-5.4.0-146-generic
Architecture: amd64
Version: 5.4.0-146.163+1
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-146-generic | linux-image-unsigned-5.4.0-146-generic, linux-signatures-nvidia-5.4.0-146-generic (= 5.4.0-146.163+1), linux-objects-nvidia-525-5.4.0-146-generic (= 5.4.0-146.163+1), nvidia-kernel-common-525 (>= 525.105.17)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-525-5.4.0-146-generic_5.4.0-146.163+1_amd64.deb
Size: 7132
MD5sum: aff8cc871e860f3ada8cd8fd87add5dd
SHA1: 6479bf29487bb6e2f7d734018cefdd897d25772f
SHA256: 3c2692923d087015f01242106179708020eb300cdfb06c4432cac1b8a1785b3f
SHA512: 00b2790cd01ddb19435231eb309bfa020d0e99ea9b5cdad5bb975b1cd9891411075716ecf2498b141750f2a8d764ddf655b5c71dbc926c954a0d3b4260aae2b6
Description: Linux kernel nvidia modules for version 5.4.0-146
Description-md5: 9b314921997c442856e2720a95de248d