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

Last updated: July 01,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-390-5.4.0-64-generic
Architecture: amd64
Version: 5.4.0-64.72~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: 24715
Depends: debconf (>= 0.5) | debconf-2.0, binutils, linux-image-5.4.0-64-generic | linux-image-unsigned-5.4.0-64-generic
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-390-5.4.0-64-generic_5.4.0-64.72~18.04.1_amd64.deb
Size: 9272088
MD5sum: e50a8660355da52a1d5d5612a6a7f7cd
SHA1: b6817ded6f0408f7c277b6468a4cf435f41f7ca1
SHA256: f530058b0c04a8d1645ab06511a765e1288db495cabebd10600c09b39ec33130
SHA512: c76fc1ef73d0c636558ef1d956ee2241fdbf524118e4be2518970dd4166411cbee6b0a893814eccbc16f29ef42ee764c4e796770e97546fdf1c1742b0ccf6559
Description: Linux kernel nvidia modules for version 5.4.0-64
Description-md5: 5551a89d21583d4b39de3c9632570fa6
Supported: 5y