Skip to content

Installing the CUDA Toolkit

gustable edited this page Feb 27, 2014 · 3 revisions

The first step in installing a Theano GPU system is oddly enough, installing the NVIDIA CUDA-Toolkit. This is because the drivers for linux are incredibly finicky. Windows users should be able to install the drivers and the toolkit in any order. However, Linux users (particularly Debian-based distro users; such as Ubuntu and LinuxMint) should sudo apt-get install nvidia-cuda-toolkit first. This is a sizeable download (approx. 650 MB), so it may take some time, however it does not require much in the way of additional input. Apt-get should also install "g++-4.4" and "gcc-4.4" automatically, so there is no need to install them manually...one of many frustrating errors I found in http://deeplearning.net/software/theano/install_ubuntu.html#install-ubuntu, which is the reference for this page.