How to Install and Uninstall linux-modules-nvidia-390-5.19.0-42-generic Package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Last updated: December 30,2024

1. Install "linux-modules-nvidia-390-5.19.0-42-generic" package

Please follow the step by step instructions below to install linux-modules-nvidia-390-5.19.0-42-generic on Ubuntu 22.04 LTS (Jammy Jellyfish)

$ sudo apt update $ sudo apt install linux-modules-nvidia-390-5.19.0-42-generic

2. Uninstall "linux-modules-nvidia-390-5.19.0-42-generic" package

Here is a brief guide to show you how to uninstall linux-modules-nvidia-390-5.19.0-42-generic on Ubuntu 22.04 LTS (Jammy Jellyfish):

$ sudo apt remove linux-modules-nvidia-390-5.19.0-42-generic $ sudo apt autoclean && sudo apt autoremove

3. Information about the linux-modules-nvidia-390-5.19.0-42-generic package on Ubuntu 22.04 LTS (Jammy Jellyfish)

Package: linux-modules-nvidia-390-5.19.0-42-generic
Architecture: amd64
Version: 5.19.0-42.43~22.04.1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-hwe-5.19
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 35
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.19.0-42-generic | linux-image-unsigned-5.19.0-42-generic, linux-signatures-nvidia-5.19.0-42-generic (= 5.19.0-42.43~22.04.1), linux-objects-nvidia-390-5.19.0-42-generic (= 5.19.0-42.43~22.04.1), nvidia-kernel-common-390 (>= 390.157)
Filename: pool/restricted/l/linux-restricted-modules-hwe-5.19/linux-modules-nvidia-390-5.19.0-42-generic_5.19.0-42.43~22.04.1_amd64.deb
Size: 7032
MD5sum: 761f163502f9a3aa160be059f4488234
SHA1: 4c21319dd4587623a6c16343f5ee49bcbfa53be9
SHA256: 6d33550058c4a366b52f761a6094b2bd8d4213e2b25409e0b32abb596ec052ea
SHA512: 290fb0d0f636f1334ffb3059f172914f758244688748784a908868574a54d2d0598a340e1271d054d08fa8334d02af073ebce1ae1fccfa4f07c4f39579c066dd
Description: Linux kernel nvidia modules for version 5.19.0-42
Description-md5: 253750c24360e00d685f7a705c8b8e2d