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

Last updated: November 24,2024

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

This is a short guide on how to install linux-modules-nvidia-510-5.4.0-124-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

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

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

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

Package: linux-modules-nvidia-510-5.4.0-124-generic
Architecture: amd64
Version: 5.4.0-124.140~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-124-generic | linux-image-unsigned-5.4.0-124-generic, linux-signatures-nvidia-5.4.0-124-generic (= 5.4.0-124.140~18.04.1), linux-objects-nvidia-510-5.4.0-124-generic (= 5.4.0-124.140~18.04.1), nvidia-kernel-common-510 (<= 510.85.02-1), nvidia-kernel-common-510 (>= 510.85.02)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-510-5.4.0-124-generic_5.4.0-124.140~18.04.1_amd64.deb
Size: 7152
MD5sum: cdefefe8caa3d9bdd62fb84b77c01f5d
SHA1: b88320053f99a94e749b4f5fa8d31677d75368de
SHA256: c5761d51de9d880b1f5495bba787f7920dc1458fc24bb664cfb84eb8ea365a80
SHA512: c76668b48a3143af6e1001d30f48765c09c798f941c727bafc27ef2db167b547dca910a16de15251143c565cee40204d22117747202ff144af7baef3e006e56d
Description: Linux kernel nvidia modules for version 5.4.0-124
Description-md5: 71e2fec81700a5db7ffe2109d256d8d2
Supported: 5y