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

Last updated: November 24,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-525-server-5.4.0-170-generic
Architecture: amd64
Version: 5.4.0-170.188+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-170-generic | linux-image-unsigned-5.4.0-170-generic, linux-signatures-nvidia-5.4.0-170-generic (= 5.4.0-170.188+1), linux-objects-nvidia-525-server-5.4.0-170-generic (= 5.4.0-170.188+1), nvidia-kernel-common-525-server (>= 525.147.05)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-525-server-5.4.0-170-generic_5.4.0-170.188+1_amd64.deb
Size: 15172
MD5sum: 0f39c4cece5df0042f6137162e36ea25
SHA1: 2e85e05c7c7295c8bfcf8dfaae5bd37672efac43
SHA256: 081a814d1d778291197056563058ab92b6cd97b1a38292f699bc27beb6970839
SHA512: 28f80ec2daa6de22d61d731cf8a8110195f1151831c9a4e38a70496c95b8eee15c9228dbf4c54a3b0bd54297f7901c264996c63efe7e07a5fdf30506efb019b3
Description: Linux kernel nvidia modules for version 5.4.0-170
Description-md5: b15fc351eb9f0529611b83a58600eebb