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

Last updated: November 14,2024

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

Please follow the instructions below to install linux-modules-nvidia-510-5.4.0-121-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

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

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

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

Package: linux-modules-nvidia-510-5.4.0-121-generic
Architecture: amd64
Version: 5.4.0-121.137~18.04.1+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-121-generic | linux-image-unsigned-5.4.0-121-generic, linux-signatures-nvidia-5.4.0-121-generic (= 5.4.0-121.137~18.04.1+1), linux-objects-nvidia-510-5.4.0-121-generic (= 5.4.0-121.137~18.04.1+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-121-generic_5.4.0-121.137~18.04.1+1_amd64.deb
Size: 7156
MD5sum: ea3b78d39deba79296b8283156122ece
SHA1: 2880517b65da685ec0336aaa8af44a52de2e003f
SHA256: 47377bfa64a24854ad259af9e6da68041eec17015b8ae52b53098b052dca4d49
SHA512: d8362372d9fcfe6d221e731880c8d5f52031e343ae8bb86e8c922e8922f4925d1f8d90b87ff4eaf9ed8492062b4b61c92e48a06403afb537362055a6328e7ac2
Description: Linux kernel nvidia modules for version 5.4.0-121
Description-md5: 110e9821a323e33465daf74c46178771
Supported: 5y