How to Install and Uninstall nvidia-cudnn Package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Last updated: February 23,2025
Notice
You can also install and uninstall the nvidia-cudnn on the following distributions in the same way, as they are all based on the Ubuntu system
- Kubuntu 22.04 LTS
- Lubuntu 22.04 LTS
- Xubuntu 22.04 LTS
- Ubuntu MATE 22.04 LTS
- Ubuntu Studio 22.04 LTS
- Pop!_OS 22.04 LTS
- Zorin OS 16 / Zorin OS 17
- Ubuntu Budgie 22.04
1. Install "nvidia-cudnn" package
Please follow the steps below to install nvidia-cudnn on Ubuntu 22.04 LTS (Jammy Jellyfish)
$
sudo apt update
Copied
$
sudo apt install
nvidia-cudnn
Copied
2. Uninstall "nvidia-cudnn" package
Learn how to uninstall nvidia-cudnn on Ubuntu 22.04 LTS (Jammy Jellyfish):
$
sudo apt remove
nvidia-cudnn
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the nvidia-cudnn package on Ubuntu 22.04 LTS (Jammy Jellyfish)
Package: nvidia-cudnn
Architecture: amd64
Version: 8.2.4.15~cuda11.4
Priority: optional
Section: multiverse/libs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian NVIDIA Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 44
Provides: libcudnn.so
Pre-Depends: nvidia-cuda-toolkit, dpkg-dev, wget
Depends: debconf (>= 0.5) | debconf-2.0
Filename: pool/multiverse/n/nvidia-cudnn/nvidia-cudnn_8.2.4.15~cuda11.4_amd64.deb
Size: 13234
MD5sum: 2d49d9bc6aaf12f74b7c10e6105057b2
SHA1: 7e43ccd8eb899c73321ed357dae1070521513783
SHA256: 63110b8122d2c6ca63c165297fcb2baa18ebc66eb4754e50df5cdc299b07f02c
SHA512: 3c9feddd3034a470d5a8ca1475245af7f916b4e15a499211a2ce53d7b0a514545de9aa4728b0e530171ba03b7d0daf5a1962ed3a44c6ede0595230a4cb2f0f6d
Homepage: https://developer.nvidia.com/cudnn
Description: NVIDIA CUDA Deep Neural Network library (install script)
Description-md5: aff2caf53c29838279b63dd35dec1798
Architecture: amd64
Version: 8.2.4.15~cuda11.4
Priority: optional
Section: multiverse/libs
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian NVIDIA Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 44
Provides: libcudnn.so
Pre-Depends: nvidia-cuda-toolkit, dpkg-dev, wget
Depends: debconf (>= 0.5) | debconf-2.0
Filename: pool/multiverse/n/nvidia-cudnn/nvidia-cudnn_8.2.4.15~cuda11.4_amd64.deb
Size: 13234
MD5sum: 2d49d9bc6aaf12f74b7c10e6105057b2
SHA1: 7e43ccd8eb899c73321ed357dae1070521513783
SHA256: 63110b8122d2c6ca63c165297fcb2baa18ebc66eb4754e50df5cdc299b07f02c
SHA512: 3c9feddd3034a470d5a8ca1475245af7f916b4e15a499211a2ce53d7b0a514545de9aa4728b0e530171ba03b7d0daf5a1962ed3a44c6ede0595230a4cb2f0f6d
Homepage: https://developer.nvidia.com/cudnn
Description: NVIDIA CUDA Deep Neural Network library (install script)
Description-md5: aff2caf53c29838279b63dd35dec1798