How to Install and Uninstall nvidia-cudnn Package on Ubuntu 24.04 LTS (Noble Numbat)

Last updated: December 29,2024

1. Install "nvidia-cudnn" package

Here is a brief guide to show you how to install nvidia-cudnn on Ubuntu 24.04 LTS (Noble Numbat)

$ sudo apt update $ sudo apt install nvidia-cudnn

2. Uninstall "nvidia-cudnn" package

Please follow the steps below to uninstall nvidia-cudnn on Ubuntu 24.04 LTS (Noble Numbat):

$ sudo apt remove nvidia-cudnn $ sudo apt autoclean && sudo apt autoremove

3. Information about the nvidia-cudnn package on Ubuntu 24.04 LTS (Noble Numbat)

Package: nvidia-cudnn
Architecture: amd64
Version: 8.9.2.26~cuda12+3
Priority: optional
Section: multiverse/libs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian NVIDIA Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 61
Provides: libcudnn-dev, libcudnn.so, libcudnn.so.8
Depends: ca-certificates, curl | wget, dpkg-dev, nvidia-cuda-dev (<< 13~), nvidia-cuda-dev (>= 12~), debconf (>= 0.5) | debconf-2.0
Recommends: nvidia-cuda-toolkit-gcc
Filename: pool/multiverse/n/nvidia-cudnn/nvidia-cudnn_8.9.2.26~cuda12+3_amd64.deb
Size: 17380
MD5sum: 8e916704088c4dbe6bc2d4f1ffff8dfc
SHA1: 549f124ce41ea629479cdd4630dce75f03579df9
SHA256: cfefb3704d6d13e642d293c3a9c0a22ff7876d7b38d05a4819d87acaa004ce9b
SHA512: 5cc37dbbd0d8e0a0065d28272731ab40b5b3638b3a897986f8cc72e093af7e0b71430260c36fb13ee0105ddeee2ab61346e7dfae3911ed16466fbe2913ce08fa
Homepage: https://developer.nvidia.com/cudnn
Description: NVIDIA CUDA Deep Neural Network library (install script)
Description-md5: aff2caf53c29838279b63dd35dec1798