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

Last updated: November 14,2024

1. Install "linux-modules-nvidia-390-5.4.0-120-generic" package

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

$ sudo apt update $ sudo apt install linux-modules-nvidia-390-5.4.0-120-generic

2. Uninstall "linux-modules-nvidia-390-5.4.0-120-generic" package

This is a short guide on how to uninstall linux-modules-nvidia-390-5.4.0-120-generic on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove linux-modules-nvidia-390-5.4.0-120-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-390-5.4.0-120-generic
Architecture: amd64
Version: 5.4.0-120.136~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-120-generic | linux-image-unsigned-5.4.0-120-generic, linux-signatures-nvidia-5.4.0-120-generic (= 5.4.0-120.136~18.04.1), linux-objects-nvidia-390-5.4.0-120-generic (= 5.4.0-120.136~18.04.1), nvidia-kernel-common-390 (<= 390.151-1), nvidia-kernel-common-390 (>= 390.151)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-390-5.4.0-120-generic_5.4.0-120.136~18.04.1_amd64.deb
Size: 7144
MD5sum: 45b207e97b5947b279d7aedd8a7f998c
SHA1: 90601f3c82342d61bbb1f293d8e8766b7b02b684
SHA256: f1d551efa5f7f54232bf6f84a4a72d4c354dec5ff4515e58804eeed5d87e0f05
SHA512: 04e18dc84a8235c5b77dab04862b2a5ccfead749d9769ef7f7eb18f3e488890108deaebde656a8825aa075b5a402a179e2802c75214d19c7a9fe16207ed28fbd
Description: Linux kernel nvidia modules for version 5.4.0-120
Description-md5: 49b6cdbccf9976b43d5c15cb860d0b95
Supported: 5y