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

Last updated: November 25,2024

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

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

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

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

This guide covers the steps necessary to uninstall linux-modules-nvidia-515-5.4.0-121-generic on Ubuntu 18.04 LTS (Bionic Beaver):

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

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

Package: linux-modules-nvidia-515-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-515-5.4.0-121-generic (= 5.4.0-121.137~18.04.1+1), nvidia-kernel-common-515 (<= 515.48.07-1), nvidia-kernel-common-515 (>= 515.48.07)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.4/linux-modules-nvidia-515-5.4.0-121-generic_5.4.0-121.137~18.04.1+1_amd64.deb
Size: 7152
MD5sum: d237d47df9ad7968ab32a48f7e190097
SHA1: 6fe0894f244c4eed6ef8c70b787236f01a2d3e31
SHA256: d3c0554e5ac38a18c57e820ece6194011116f768df3aaf0945127f203abbedfb
SHA512: 96cae49177c3a6c01359ab9d29495fa23b691b21dec798a0e9d5f319a8b34d827c87a2366caad776292f4aea0fb8d8d8e81b4260419f9c204fd38ac6c6a9fe99
Description: Linux kernel nvidia modules for version 5.4.0-121
Description-md5: 3e520496bebf37bb43fb3996cfeea064
Supported: 5y