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

Last updated: November 16,2024

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

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

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

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

Here is a brief guide to show you how to uninstall linux-modules-nvidia-535-5.4.0-163-generic on Ubuntu 20.04 LTS (Focal Fossa):

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

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

Package: linux-modules-nvidia-535-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-535-5.4.0-163-generic (= 5.4.0-163.180+2), nvidia-kernel-common-535 (>= 535.113.01)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-535-5.4.0-163-generic_5.4.0-163.180+2_amd64.deb
Size: 15064
MD5sum: fd7cc6d2189bcbc5e605b26a4c2efbc2
SHA1: 419fa26057e359357f852bec3b30085687fbd4fd
SHA256: 24eea29a246973e6ece10ab589fd269b25fe1c04d9a31a0c8274301b616109c4
SHA512: 09890f0c4951454a14e5bc0b2ac7caa296cf57755970588b21f1c00c32dda02f9b6e2db0412500c872063ce5be6b78e006362254ef46bfb97424e2b376df15ba
Description: Linux kernel nvidia modules for version 5.4.0-163
Description-md5: 6f18e093b9249b189586eb0c2e14aebf