Install OpenCV 4.10 with CUDA 12.6 and CUDNN 8.9 in Ubuntu 24.04 First of all install update and upgrade your system: $ sudo apt update $ sudo apt upgrade Then, install required libraries: