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

Last updated: November 16,2024

1. Install "linux-modules-nvidia-495-5.4.0-91-generic" package

Please follow the steps below to install linux-modules-nvidia-495-5.4.0-91-generic on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install linux-modules-nvidia-495-5.4.0-91-generic

2. Uninstall "linux-modules-nvidia-495-5.4.0-91-generic" package

This tutorial shows how to uninstall linux-modules-nvidia-495-5.4.0-91-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-495-5.4.0-91-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-495-5.4.0-91-generic
Architecture: amd64
Version: 5.4.0-91.102+2
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 32
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-91-generic | linux-image-unsigned-5.4.0-91-generic, linux-signatures-nvidia-5.4.0-91-generic (= 5.4.0-91.102+2), linux-objects-nvidia-495-5.4.0-91-generic (= 5.4.0-91.102+2), nvidia-kernel-common-495 (<= 495.44-1), nvidia-kernel-common-495 (>= 495.44)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-495-5.4.0-91-generic_5.4.0-91.102+2_amd64.deb
Size: 7136
MD5sum: 1545ee657e7fd9e29fd1609b4494321c
SHA1: c1106feac9f7ef30796507dddff64be43bcd8e26
SHA256: 144a0d936d39a8129004c5c48cc0236319d6c3edc3d944936052427b7641c511
SHA512: dd4338107aff96144422724971578d2676ba524c264a157a591419193986645af401fcf84b9757a9840f860728283106d44bf32f8c02623a2dba6667f3f0ef70
Description: Linux kernel nvidia modules for version 5.4.0-91
Description-md5: d46d8e594b12edac889ce53c7404b16f