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

Last updated: November 15,2024

1. Install "linux-modules-nvidia-390-4.15.0-159-generic" package

This is a short guide on how to install linux-modules-nvidia-390-4.15.0-159-generic on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install linux-modules-nvidia-390-4.15.0-159-generic

2. Uninstall "linux-modules-nvidia-390-4.15.0-159-generic" package

Please follow the guidelines below to uninstall linux-modules-nvidia-390-4.15.0-159-generic on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove linux-modules-nvidia-390-4.15.0-159-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-390-4.15.0-159-generic
Architecture: amd64
Version: 4.15.0-159.167
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-159-generic | linux-image-unsigned-4.15.0-159-generic, linux-signatures-nvidia-4.15.0-159-generic (= 4.15.0-159.167), linux-objects-nvidia-390-4.15.0-159-generic (= 4.15.0-159.167), nvidia-kernel-common-390 (<= 390.144-1), nvidia-kernel-common-390 (>= 390.144)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-4.15.0-159-generic_4.15.0-159.167_amd64.deb
Size: 7036
MD5sum: c429d0df342f2458cfd09a7cbbd37737
SHA1: f830193b5920142f5ada63ddecc6beb888ad1b04
SHA256: 486e4c43a05c014696678e7b5001b16e8c97b5e5326a258bfc7ffdbfa260524b
SHA512: 46a8fffd11ba445668fd12e9697536e51c765b436dde79a3c053c8da8822181d6a6807a2f8839f2b1ed0006dd634aed5c1cae81082acd0f4f01ea31b0fb89d69
Description: Linux kernel nvidia modules for version 4.15.0-159
Description-md5: c265557570335ff18de838909ea0f606
Supported: 5y