How to Install and Uninstall linux-modules-nvidia-460-4.15.0-158-generic Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 05,2024

1. Install "linux-modules-nvidia-460-4.15.0-158-generic" package

Please follow the steps below to install linux-modules-nvidia-460-4.15.0-158-generic on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install linux-modules-nvidia-460-4.15.0-158-generic

2. Uninstall "linux-modules-nvidia-460-4.15.0-158-generic" package

Please follow the step by step instructions below to uninstall linux-modules-nvidia-460-4.15.0-158-generic on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove linux-modules-nvidia-460-4.15.0-158-generic $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-modules-nvidia-460-4.15.0-158-generic package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: linux-modules-nvidia-460-4.15.0-158-generic
Architecture: amd64
Version: 4.15.0-158.166
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
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-4.15.0-158-generic | linux-image-unsigned-4.15.0-158-generic, linux-signatures-nvidia-4.15.0-158-generic (= 4.15.0-158.166), linux-objects-nvidia-460-4.15.0-158-generic (= 4.15.0-158.166), nvidia-kernel-common-460 (<= 460.91.03-1), nvidia-kernel-common-460 (>= 460.91.03)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-460-4.15.0-158-generic_4.15.0-158.166_amd64.deb
Size: 7048
MD5sum: a252ec3f3909565424850b48ee379cc2
SHA1: 2ed6828fafd3e100405d6f5a6ffeb3822342fd36
SHA256: d9b61f9bfad91e7501ebd28d8adaa51009c7f4cfd108ca2be4d43094f6f83778
SHA512: 69f0cb88a32da829cdbe52d66023d584a46f538e1a7bf883d5e2fb95602cc54f2b06032533d23af0d70a6be52f2995531ac0bc0fe0f53b494432129d522c03f9
Description: Linux kernel nvidia modules for version 4.15.0-158
Description-md5: ddb2897ab2cacb2f6714afc23379ed0a
Supported: 5y