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

Last updated: November 24,2024

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

In this section, we are going to explain the necessary steps to install linux-modules-nvidia-515-server-5.4.0-124-generic on Ubuntu 18.04 LTS (Bionic Beaver)

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

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

Here is a brief guide to show you how to uninstall linux-modules-nvidia-515-server-5.4.0-124-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: linux-modules-nvidia-515-server-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-515-server-5.4.0-124-generic (= 5.4.0-124.140~18.04.1), nvidia-kernel-common-515-server (<= 515.65.01-1), nvidia-kernel-common-515-server (>= 515.65.01)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-515-server-5.4.0-124-generic_5.4.0-124.140~18.04.1_amd64.deb
Size: 7168
MD5sum: c43cff3588a2abf5cdd62603edf6f5c5
SHA1: 340115c2f37a676fa6534751dc145cfb66f9420e
SHA256: b6b90067667f4fbfa2f359c4bbd71037df0754c89d739c023bdf7dc0a95449d7
SHA512: 7278bbdc2d9c305f85515d08293d72a766420ade86d3c6a09d8e0cf33622e111e59702ba8d115571bcc9b266f6b286bdc3477514200011a1ed7761035e1ffe95
Description: Linux kernel nvidia modules for version 5.4.0-124
Description-md5: 08b28bda80306cdd8db697d625232f02
Supported: 5y