Skip to content

Instantly share code, notes, and snippets.

View 0xjunhao's full-sized avatar
🌍
Travelling

Junhao 0xjunhao

🌍
Travelling
View GitHub Profile
@0xjunhao
0xjunhao / install_gdrcopy.sh
Last active April 14, 2026 22:00
Install GDRCopy 2.5.2
# Adapted from https://github.com/NVIDIA/gdrcopy
sudo apt update
sudo apt install -y build-essential devscripts debhelper fakeroot pkg-config dkms wget tar
wget https://github.com/NVIDIA/gdrcopy/archive/refs/tags/v2.5.2.tar.gz
tar xzvf v2.5.2.tar.gz
cd gdrcopy-2.5.2/packages
CUDA=/usr/local/cuda ./build-deb-packages.sh
sudo dpkg -i gdrdrv-dkms_2.5.2-1_*.deb
sudo dpkg -i libgdrapi_2.5.2-1_*.deb
sudo dpkg -i gdrcopy-tests_2.5.2-1_*.deb