CUDA insallation with two different GPU cards on Ubuntu 20.04


I want to install CUDA 10.1 on my linux Ubuntu 20.04 system on my both GPU cards including:

  • GTX 980 (display + CUDA -driver version 390)
  • RTX 2080 (CUDA- driver version 440)

I followed previous post and found similar discussion on Ubuntu 16.04 but I am sure there are lots of modifications need to be done because of different Ubuntu and CUDA versions. Also, I do not know whether the general instruction of this post is still working on Ubuntu 20 or not. Dual GPU system in Ubuntu 16.04

I would be grateful if you could help me to solve the problem.