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

Last updated: November 15,2024

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

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

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

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

This tutorial shows how to uninstall linux-modules-nvidia-418-server-5.4.0-162-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-418-server-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-418-server-5.4.0-162-generic (= 5.4.0-162.179), nvidia-kernel-common-418-server (>= 418.226.00)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-418-server-5.4.0-162-generic_5.4.0-162.179_amd64.deb
Size: 7156
MD5sum: 5d2ef2b6050619a206e37943e4d462d1
SHA1: 2dec17baeab2fc94ea7575987b4e7c7acfc8b72c
SHA256: 38341389f1a59a1e7c3d45ee1c42df9e8939127a8fe5ca2b7b6ed3496cb8978d
SHA512: b254a0a3d0f0b9bf58c9377475fbf02c6c97c37b8567f69b9617068a1caad1dfbbc747e56a6ad073f140916b5d00efd4dc81d365181224043873d4d8ed08a54a
Description: Linux kernel nvidia modules for version 5.4.0-162
Description-md5: acf60891aaa01dd9580a086683d9d703