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

Last updated: December 26,2024

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

Please follow the step by step instructions below to install linux-modules-nvidia-510-server-5.4.0-122-generic on Ubuntu 20.04 LTS (Focal Fossa)

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

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

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

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

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

Package: linux-modules-nvidia-510-server-5.4.0-122-generic
Architecture: amd64
Version: 5.4.0-122.138+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: 33
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-122-generic | linux-image-unsigned-5.4.0-122-generic, linux-signatures-nvidia-5.4.0-122-generic (= 5.4.0-122.138+2), linux-objects-nvidia-510-server-5.4.0-122-generic (= 5.4.0-122.138+2), nvidia-kernel-common-510-server (<= 510.85.02-1), nvidia-kernel-common-510-server (>= 510.85.02)
Filename: pool/restricted/l/linux-restricted-modules/linux-modules-nvidia-510-server-5.4.0-122-generic_5.4.0-122.138+2_amd64.deb
Size: 7148
MD5sum: 9ebce6e9059054a6f728238659e295d5
SHA1: 43a4dcb369241c30a05f1539415aebb624147931
SHA256: 00f5634809eface5c54d5c91ba79835899c5ddd46031657a578f74c7f194ef94
SHA512: 3cb6fef8fdce34f9c60bce166706911eff37c3d23a11f60d89943ea90a15579404ace0cff1de8e3427132215451114e0780dd032ed808b080eeda83893322ce0
Description: Linux kernel nvidia modules for version 5.4.0-122
Description-md5: c5f1b4b721ea0eb88f85bf73245edaa9