How to Install and Uninstall linux-modules-nvidia-495-5.4.0-97-generic Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 28,2024

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

Please follow the steps below to install linux-modules-nvidia-495-5.4.0-97-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

Here is a brief guide to show you how to uninstall linux-modules-nvidia-495-5.4.0-97-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the linux-modules-nvidia-495-5.4.0-97-generic package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: linux-modules-nvidia-495-5.4.0-97-generic
Architecture: amd64
Version: 5.4.0-97.110~18.04.1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.4
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-97-generic | linux-image-unsigned-5.4.0-97-generic, linux-signatures-nvidia-5.4.0-97-generic (= 5.4.0-97.110~18.04.1), linux-objects-nvidia-495-5.4.0-97-generic (= 5.4.0-97.110~18.04.1), nvidia-kernel-common-495 (<= 495.46-1), nvidia-kernel-common-495 (>= 495.46)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-495-5.4.0-97-generic_5.4.0-97.110~18.04.1_amd64.deb
Size: 7140
MD5sum: 78edc3b9fcdf856c437d9d4ecb13e1be
SHA1: b64af85fafa3efd943904acda924cadb9322a3e6
SHA256: 41408793876c7e124499d09f7b311a0b68bc1042e21447645c0729efbcb560d7
SHA512: b1dbd2dc766600b1d52c2f2880c5ad232281ef737ba15ab02acb844aebc9e374da187ca6778b560448530cad9c6e0ee6dded436d7ca16d5a31a4dde929a9dd9e
Description: Linux kernel nvidia modules for version 5.4.0-97
Description-md5: 377ce46b390484c89ca5715c959ef4b1
Supported: 5y