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

Last updated: November 26,2024

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

This is a short guide on how to install linux-modules-nvidia-525-server-5.4.0-146-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-525-server-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-server-5.4.0-146-generic (= 5.4.0-146.163+1), nvidia-kernel-common-525-server (>= 525.105.17)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-525-server-5.4.0-146-generic_5.4.0-146.163+1_amd64.deb
Size: 7144
MD5sum: dcaccb8c850ac9db555422e8ff28e458
SHA1: 186ee1df17557b91393ce748a750f6d350e5d4d1
SHA256: ca4b112cbf72e945169f5aa4df24c2541d0b5dd4c6443207cd1dabfd57907170
SHA512: 30904f42846c8a348fddd454ba9a173559c32e1d876035a6d048ac04a8000ebf40701540474cd1d8c5abd7feb3a44c1403a48bae23ef094940c837e790b37f0a
Description: Linux kernel nvidia modules for version 5.4.0-146
Description-md5: 155dd3cd2a0b6ead6f6f4f66121b656a