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

Last updated: December 28,2024

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

This guide covers the steps necessary to install linux-modules-nvidia-525-5.4.0-165-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

This is a short guide on how to uninstall linux-modules-nvidia-525-5.4.0-165-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-525-5.4.0-165-generic
Architecture: amd64
Version: 5.4.0-165.182
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-165-generic | linux-image-unsigned-5.4.0-165-generic, linux-signatures-nvidia-5.4.0-165-generic (= 5.4.0-165.182), linux-objects-nvidia-525-5.4.0-165-generic (= 5.4.0-165.182), nvidia-kernel-common-525 (>= 525.125.06)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-525-5.4.0-165-generic_5.4.0-165.182_amd64.deb
Size: 7140
MD5sum: 876a35d47577abb4d3ed833be9a9b24c
SHA1: ca06a934654d023bc278ac9fdf1357b6160ce0c3
SHA256: 9e8d4bedfd32150bc66102e1b2eb8a7bfbde1a093ea8dc28f2666c254535aba3
SHA512: c26cf3cd3b69fcf3d3fda075a66677d4851aaa840a71a9b080880b0c24522a8d91b84a503deb7aedde0410a3765df10572e9bdd82c059825d285167e69964b5d
Description: Linux kernel nvidia modules for version 5.4.0-165
Description-md5: a2655ebba1cf6da2c0a44d6c40d158fd