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

Last updated: November 24,2024

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

Here is a brief guide to show you how to install linux-modules-nvidia-495-5.4.0-96-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-495-5.4.0-96-generic
Architecture: amd64
Version: 5.4.0-96.109
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-96-generic | linux-image-unsigned-5.4.0-96-generic, linux-signatures-nvidia-5.4.0-96-generic (= 5.4.0-96.109), linux-objects-nvidia-495-5.4.0-96-generic (= 5.4.0-96.109), nvidia-kernel-common-495 (<= 495.46-1), nvidia-kernel-common-495 (>= 495.46)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-495-5.4.0-96-generic_5.4.0-96.109_amd64.deb
Size: 7140
MD5sum: f94e468400a7c8bd11fb26d6be6cf6f3
SHA1: 58d4fbea68618a560e4cb95f9331d61ce15235fa
SHA256: a82fa017a7266871c26233e0eb1770c393677da9e134bc0cd67360f56f555d50
SHA512: d02b7d4ed0cc81593df82db8b78fdf86e516090342a19f140e2dc043635ffe66e125dd50685ace32197d2d0df17b8aa76926f8deb3a33c3658b2d99c80589f29
Description: Linux kernel nvidia modules for version 5.4.0-96
Description-md5: 06f0d30d3b659cd536a9fefaca8cd2d8