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

Last updated: December 29,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-525-5.4.0-164-generic
Architecture: amd64
Version: 5.4.0-164.181+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-164-generic | linux-image-unsigned-5.4.0-164-generic, linux-signatures-nvidia-5.4.0-164-generic (= 5.4.0-164.181+1), linux-objects-nvidia-525-5.4.0-164-generic (= 5.4.0-164.181+1), nvidia-kernel-common-525 (>= 525.125.06)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-525-5.4.0-164-generic_5.4.0-164.181+1_amd64.deb
Size: 15040
MD5sum: 452e115f5b01570599759dc0469c63da
SHA1: 1c0f2fb1b30d2141166d7db38591633ea58700e5
SHA256: 36e0e60c420252b0566ba52420aec4acbf40ae3273e19efe05dcce64002994e1
SHA512: 50dbf084a3b8dbce68c96fed4e031d6eac37d5fc68abdf896a0dd607ab9df57d442de4aa7560167257533c6f358711d151053f68e907372435ca2311d02ca7ef
Description: Linux kernel nvidia modules for version 5.4.0-164
Description-md5: addb6d717b54e77b6bdd96f8da52c9f1