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

Last updated: December 26,2024

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

In this section, we are going to explain the necessary steps to install linux-modules-nvidia-460-4.15.0-142-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

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

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

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

Package: linux-modules-nvidia-460-4.15.0-142-generic
Architecture: amd64
Version: 4.15.0-142.146+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-4.15.0-142-generic | linux-image-unsigned-4.15.0-142-generic, linux-signatures-nvidia-4.15.0-142-generic (= 4.15.0-142.146+1), linux-objects-nvidia-460-4.15.0-142-generic (= 4.15.0-142.146+1), nvidia-kernel-common-460 (<= 460.73.01-1), nvidia-kernel-common-460 (>= 460.73.01)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-460-4.15.0-142-generic_4.15.0-142.146+1_amd64.deb
Size: 7040
MD5sum: cc2a1e0e0a5f63bf4192fec340fdd3dd
SHA1: cb54912fbe6849aea6cb836dc53f21d4056287f6
SHA256: 3b6c64ba220f8933b99557f2d69dcc640594614d7f4260cf08553046796da796
SHA512: a0d90e97919537dd685078e934a5e18ce1bcfa47cb4e038588683fd1320c3703ea95fedb4d626227a2dc578c64482d77b1a6278248fcd19477abb4a9e0a39b38
Description: Linux kernel nvidia modules for version 4.15.0-142
Description-md5: 0f1ba4358a95775f35b545ce84001797
Supported: 5y