Should I use Ubuntu 18.04 or Ubuntu 20.04 for machine learning?

As Ubuntu 20.04 LTS was released in Apr 2020, should I use it instead of 18.04 for machine learning? Will I encounter non compatible driver and library issues and does CUDA support Ubuntu 20.04?

Hi @kitgary

AFAIK, CUDA 10.2 toolkit is currently not available for Ubuntu 20.04 LTS. If you want to use the latest release of the toolkit you would be better by installing Ubuntu 18.04.

Having said that, you can still install CUDA 10.1 toolkit in Ubuntu 20.04 LTS and wait until 10.2 is available there.

For reference, Iā€™m using Ubuntu 18.04 on my headless Deep Learning server and Ubuntu 20.04 on my laptop ā€• which I use to access the server.


I just installed nvidia driver 440 and cuda toolkit 10.2 on 20.04 5.4.0-48-generic. I have seen some posts about issues Re: gcc compatibility but I didnt get any errors.