How to Install and Uninstall linux-modules-nvidia-390-5.4.0-162-generic Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: November 25,2024

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

Please follow the guidelines below to install linux-modules-nvidia-390-5.4.0-162-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

In this section, we are going to explain the necessary steps to uninstall linux-modules-nvidia-390-5.4.0-162-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

3. Information about the linux-modules-nvidia-390-5.4.0-162-generic package on Ubuntu 20.04 LTS (Focal Fossa)

Package: linux-modules-nvidia-390-5.4.0-162-generic
Architecture: amd64
Version: 5.4.0-162.179
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 34
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-162-generic | linux-image-unsigned-5.4.0-162-generic, linux-signatures-nvidia-5.4.0-162-generic (= 5.4.0-162.179), linux-objects-nvidia-390-5.4.0-162-generic (= 5.4.0-162.179), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-162-generic_5.4.0-162.179_amd64.deb
Size: 7148
MD5sum: 6728c941340acac1ae5b74d3d6b53d65
SHA1: d1d0606b1fc24e0f6a29db1c46e7e39224670a92
SHA256: 938417491affaa93ded7b5f8537f6434d156d1e5f9dd439528a700ea5a5650db
SHA512: 93e476c29b7c491cc51cd500c559296e0abc17fea994f872ee4d8494c1ee5fc6e02ec2dc1f038fc324a60610f20b9dd7fabf674a094a33d3e04850048ff937c1
Description: Linux kernel nvidia modules for version 5.4.0-162
Description-md5: e9bb3e6b2a0e7d1a0567ba5147ae4e02