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

Last updated: November 23,2024

1. Install "linux-modules-nvidia-510-5.4.0-1065-aws" package

Please follow the guidance below to install linux-modules-nvidia-510-5.4.0-1065-aws on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install linux-modules-nvidia-510-5.4.0-1065-aws

2. Uninstall "linux-modules-nvidia-510-5.4.0-1065-aws" package

In this section, we are going to explain the necessary steps to uninstall linux-modules-nvidia-510-5.4.0-1065-aws on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove linux-modules-nvidia-510-5.4.0-1065-aws $ sudo apt autoclean && sudo apt autoremove

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

Package: linux-modules-nvidia-510-5.4.0-1065-aws
Architecture: amd64
Version: 5.4.0-1065.68~18.04.1+1
Priority: optional
Section: restricted/kernel
Source: linux-restricted-modules-aws-5.4
Origin: Ubuntu
Maintainer: Canonical Kernel Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 29
Depends: debconf (>= 0.5) | debconf-2.0, linux-image-5.4.0-1065-aws | linux-image-unsigned-5.4.0-1065-aws, linux-signatures-nvidia-5.4.0-1065-aws (= 5.4.0-1065.68~18.04.1+1), linux-objects-nvidia-510-5.4.0-1065-aws (= 5.4.0-1065.68~18.04.1+1), nvidia-kernel-common-510 (<= 510.47.03-1), nvidia-kernel-common-510 (>= 510.47.03)
Filename: pool/restricted/l/linux-restricted-modules-aws-5.4/linux-modules-nvidia-510-5.4.0-1065-aws_5.4.0-1065.68~18.04.1+1_amd64.deb
Size: 7048
MD5sum: db2dd27e31ab87b0cedc2b72986466bc
SHA1: cdf1e1b5e1af6dd9b4cd314042fd9db35bce0831
SHA256: 2e343370fdcbf8bad192faececf2bf8c8bd7523251fb2f539268d2baecff20fd
SHA512: 1cc4c5288b3cbb1aa0f66ec3a725a6672b0ff19b561dbdb0fe0373c5ea8c701218f4eef7d8c2577766c1e310ee60c8eebec94c158d6e93e2d22b62810ce4fd2c
Description: Linux kernel nvidia modules for version 5.4.0-1065
Description-md5: cfae93e06f17a03650733e4b5859744c
Supported: 5y