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

Last updated: November 26,2024

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

Please follow the step by step instructions below to install linux-modules-nvidia-390-5.4.0-45-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

In this section, we are going to explain the necessary steps to uninstall linux-modules-nvidia-390-5.4.0-45-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: linux-modules-nvidia-390-5.4.0-45-generic
Architecture: amd64
Version: 5.4.0-45.49~18.04.2
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: 24700
Depends: debconf (>= 0.5) | debconf-2.0, binutils, linux-image-5.4.0-45-generic | linux-image-unsigned-5.4.0-45-generic
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-390-5.4.0-45-generic_5.4.0-45.49~18.04.2_amd64.deb
Size: 9257576
MD5sum: 2e477bdf3f55033c1bdddbe12ce4e283
SHA1: c4924c325d55eedbecda3a6c1ff135b7968f41e3
SHA256: c219cdaa117f762b1d2dd21b80add23c6d1d2c286e5ddbeb6c942f54c63c3730
SHA512: 56189aa84a65f5ed2bdcef1e38e735471139d0fe046e7a76b00d12d734ba106d6469e41f1b07dddcb9d03b700e5cdf0f2574692eef60d5dd089cec0697803014
Description: Linux kernel nvidia modules for version 5.4.0-45
Description-md5: a7b06ed7e653f02deff1074c8346c5c7
Supported: 5y