How to Install and Uninstall linux-modules-nvidia-510-5.4.0-120-generic Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 28,2024

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

This guide let you learn how to install linux-modules-nvidia-510-5.4.0-120-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

Please follow the guidance below to uninstall linux-modules-nvidia-510-5.4.0-120-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the linux-modules-nvidia-510-5.4.0-120-generic package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: linux-modules-nvidia-510-5.4.0-120-generic
Architecture: amd64
Version: 5.4.0-120.136~18.04.1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.4
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 30
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~18.04.1), linux-objects-nvidia-510-5.4.0-120-generic (= 5.4.0-120.136~18.04.1), nvidia-kernel-common-510 (<= 510.73.05-1), nvidia-kernel-common-510 (>= 510.73.05)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-510-5.4.0-120-generic_5.4.0-120.136~18.04.1_amd64.deb
Size: 7152
MD5sum: 50bc26583247bdfa080d5de402a78a77
SHA1: 86bea7b9b3d40b149764e7e81c7c09999ac053ba
SHA256: 979c5ac3d988931cb49d2a7a6073e5de0ce23fb91405f9cecd330243dedadad5
SHA512: dfa3d001409bd7f4863d9873907e5f199a7fbf74118eed854524a5ac11f0371907276aca7e16904913900db68b5309a697d0978aa9e019a7883abe2d8ed36952
Description: Linux kernel nvidia modules for version 5.4.0-120
Description-md5: 6323719390ac398e5d50e8c38a193148
Supported: 5y