Ubuntu Installation

Installing CUDA on Ubuntu

CUDA is something that needs to be installed when using NVIDIA GPUs and graphics cards in machine learning, deep learning programming, or gaming. In Python machine learning programming, tensorflow is often used, and to use tensorflow, installation of NVIDIA GPU drivers and corresponding versions of CUDA is required.

Shou Arisaka
1 min read
Oct 5, 2025

CUDA is something that needs to be installed when using NVIDIA GPUs and graphics cards in machine learning, deep learning programming, or gaming. In Python machine learning programming, tensorflow is often used, and to use tensorflow, installation of NVIDIA GPU drivers and corresponding versions of CUDA is required.

CUDA can be installed with the following command. As an example, the following command installs CUDA version 11.0. The version of CUDA to install varies depending on the version of Tensorflow you use. Itโ€™s recommended to research this in advance.

sudo apt update ; sudo apt-get install cuda-11-0

(Reference)

apt - Cuda 11.0 installs 11.1 on Ubuntu 18.04 - Ask Ubuntu

Share this article

Shou Arisaka Oct 5, 2025

๐Ÿ”— Copy Links