12/25/2024

Installing cuDNN on Ubuntu 22.04

 

Installing cuDNN on Ubuntu 22.04

Step 1: Download cuDNN

  1. Go to https://developer.nvidia.com/cudnn
  2. Sign in to your NVIDIA Developer account (or create one if needed)
  3. Navigate to Downloads
  4. Find and download cuDNN v9.6.0 for Ubuntu 22.04 (.deb package)

Step 2: Install cuDNN

Run these commands in order:

# Install the downloaded package sudo dpkg -i cudnn-local-repo-ubuntu2204-9.6.0_1.0-1_amd64.deb # Copy the keyring sudo cp /var/cudnn-local-repo-ubuntu2204-9.6.0/cudnn-*-keyring.gpg /usr/share/keyrings/ # Update package list sudo apt-get update # Install cuDNN sudo apt-get -y install cudnn # Install CUDA 12 specific package sudo apt-get -y install cudnn-cuda-12

Step 3: Verify Installation

# Check if cuDNN is installed correctly find /usr -name "libcudnn.so*"

Note: Direct download links won't work - you must download through NVIDIA's website after logging in.

No comments:

Post a Comment