How to install CUDA toolkit from Ubuntu Repository
Simple tutotial for how to install CUDA toolkit from Ubuntu Repository
Categories:
Although you might not end up witht he latest CUDA toolkit version, the easiest way to install CUDA on Ubuntu 20.04 is to perform the installation from Ubuntu’s standard repositories.
To install CUDA execute the following commands:
sudo apt update &&\
sudo apt install nvidia-cuda-toolkit
All should be ready now. Check your CUDA version:
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2019 NVIDIA Corporation
Built on Sun_Jul_28_19:07:16_PDT_2019
Cuda compilation tools, release 10.1, V10.1.243