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

Last updated: November 14,2024

1. Install "linux-modules-nvidia-495-5.11.0-40-generic" package

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

$ sudo apt update $ sudo apt install linux-modules-nvidia-495-5.11.0-40-generic

2. Uninstall "linux-modules-nvidia-495-5.11.0-40-generic" package

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

$ sudo apt remove linux-modules-nvidia-495-5.11.0-40-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-495-5.11.0-40-generic
Architecture: amd64
Version: 5.11.0-40.44~20.04.2+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.11
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 33
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.11.0-40-generic | linux-image-unsigned-5.11.0-40-generic, linux-signatures-nvidia-5.11.0-40-generic (= 5.11.0-40.44~20.04.2+1), linux-objects-nvidia-495-5.11.0-40-generic (= 5.11.0-40.44~20.04.2+1), nvidia-kernel-common-495 (<= 495.44-1), nvidia-kernel-common-495 (>= 495.44)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.11/linux-modules-nvidia-495-5.11.0-40-generic_5.11.0-40.44~20.04.2+1_amd64.deb
Size: 7136
MD5sum: d7fff0f58fd34c7d278e0ee21c62d9e9
SHA1: e8568a86d26f97d88b7e6d756f1f4fe4d500f9a2
SHA256: a80d0d06d492adc9ca89c1c8a09bb7d92888df4a7337bd5ccae500ca5976f018
SHA512: a98df7695cad607ce5acbf47e247acdeaef44f867b9d7f4401ecd30117eb169773d4700d035982fcfe42d0279ccaff381cf3f3336fd8b1d757e878426f4886f3
Description: Linux kernel nvidia modules for version 5.11.0-40
Description-md5: 838db69541d76c9a9c2805219eaa1f1d