How to install CUDA / cuDNN / TensorRT on Ubuntu Install NVIDIA drivers Update & upgrade sudo apt update && sudo apt upgrade Remove previous NVIDIA installation