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

Last updated: November 14,2024

1. Install "linux-modules-nvidia-510-server-5.4.0-120-generic" package

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

$ sudo apt update $ sudo apt install linux-modules-nvidia-510-server-5.4.0-120-generic

2. Uninstall "linux-modules-nvidia-510-server-5.4.0-120-generic" package

Please follow the steps below to uninstall linux-modules-nvidia-510-server-5.4.0-120-generic on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove linux-modules-nvidia-510-server-5.4.0-120-generic $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-510-server-5.4.0-120-generic
Architecture: amd64
Version: 5.4.0-120.136
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 33
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-120-generic | linux-image-unsigned-5.4.0-120-generic, linux-signatures-nvidia-5.4.0-120-generic (= 5.4.0-120.136), linux-objects-nvidia-510-server-5.4.0-120-generic (= 5.4.0-120.136), nvidia-kernel-common-510-server (<= 510.73.08-1), nvidia-kernel-common-510-server (>= 510.73.08)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-510-server-5.4.0-120-generic_5.4.0-120.136_amd64.deb
Size: 7148
MD5sum: 9fb5b0071ce2039b691c9330be5a27cd
SHA1: ed0f24bdcef1cf8647faff76a3b6feaa720c54a4
SHA256: 6114753a8a261c0d1e46485b3abbfc3d2b929d8a75845807b7bab6973b6baf2d
SHA512: 512f8ae3e2c1d6266bfcdd185caaddfa5ceaad5be34540cdb97372f1a96286e4508a0f501641bc4a79f0d26de9a76336732153c4f90be9df867822ab60e1d010
Description: Linux kernel nvidia modules for version 5.4.0-120
Description-md5: 0ca63253fe130f180550f13a0cc10071