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

Last updated: December 27,2024

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

Please follow the steps below to install linux-modules-nvidia-390-5.4.0-121-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

Please follow the guidance below to uninstall linux-modules-nvidia-390-5.4.0-121-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: linux-modules-nvidia-390-5.4.0-121-generic
Architecture: amd64
Version: 5.4.0-121.137~18.04.1+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-121-generic | linux-image-unsigned-5.4.0-121-generic, linux-signatures-nvidia-5.4.0-121-generic (= 5.4.0-121.137~18.04.1+1), linux-objects-nvidia-390-5.4.0-121-generic (= 5.4.0-121.137~18.04.1+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-121-generic_5.4.0-121.137~18.04.1+1_amd64.deb
Size: 7144
MD5sum: ef6ed0d835acd27dc8fb30a119790eb2
SHA1: a44486dcc6cb2f3eb0174bfbb08288b532bc556d
SHA256: e5e2ae32bee015c3036ca264bde05133221806d62ff02c0fcfca5e3102b64529
SHA512: c60c64bfe84d18632c6777b23a2504388e9a3af4f8711a61bbd9832f6b827b793940c4db94a6b4793d48cd7eb5e6a723388a9fc5131e1b696a194c0e161108c1
Description: Linux kernel nvidia modules for version 5.4.0-121
Description-md5: e35de6e389c6f58f9fc593772630a5cb
Supported: 5y