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

Last updated: November 16,2024

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

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

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

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

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

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

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

Package: linux-modules-nvidia-390-5.4.0-163-generic
Architecture: amd64
Version: 5.4.0-163.180+2
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-163-generic | linux-image-unsigned-5.4.0-163-generic, linux-signatures-nvidia-5.4.0-163-generic (= 5.4.0-163.180+2), linux-objects-nvidia-390-5.4.0-163-generic (= 5.4.0-163.180+2), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-390-5.4.0-163-generic_5.4.0-163.180+2_amd64.deb
Size: 15056
MD5sum: 2c14e8f4a65214a26d8bc87a583f1f31
SHA1: c8b04081d73f68afe0feddfc424898436f0f82c6
SHA256: 11e614b99573038d3820ea50b47d2e165f8a8c16a7160857264b967f519de881
SHA512: 91e8131a78955bd0e1213480feb372735e2ed60f0eaf64cbdb2527803b57c440c79edb0bc54da36e448d766755707eca7b49177aace91b4c1eba15380fd61f66
Description: Linux kernel nvidia modules for version 5.4.0-163
Description-md5: 3672f4a6f7241b9f42da9f9d59e95deb