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

Last updated: November 26,2024

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

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

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

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

This tutorial shows how to uninstall linux-modules-nvidia-390-4.15.0-158-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: linux-modules-nvidia-390-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-390-4.15.0-158-generic (= 4.15.0-158.166), 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-158-generic_4.15.0-158.166_amd64.deb
Size: 7036
MD5sum: c51a82af1c7415cc81806d7e293a4ceb
SHA1: 03cfe629ed5d60e68e57687f94013d0eb106b9e1
SHA256: e1459ec50de62ceb5d5b28444078e847c9ce011f20635caca97fec3483447e7e
SHA512: e0ca7d4b3350251adb6fb2d0eafca7d0c2ffb0c154f19762fb7fb4536de3e1aaf0d46922d2c0250a94b2214eb911bb89e178ab416fbf4030d9aee28cdfcac882
Description: Linux kernel nvidia modules for version 4.15.0-158
Description-md5: fc98cfb9f0e02d42e78c443b6a37c614
Supported: 5y