@@ -188,7 +188,17 @@ Ubuntu 11.10/12.04 (probably work on 11.04 too):
...
@@ -188,7 +188,17 @@ Ubuntu 11.10/12.04 (probably work on 11.04 too):
Then you need to fetch latest CUDA tool kit (download ubuntu 11.04 32/64bit package)
Then you need to fetch latest CUDA tool kit (download ubuntu 11.04 32/64bit package)
from `here <http://developer.nvidia.com/cuda-downloads>`_.
from `here <http://developer.nvidia.com/cuda-downloads>`_.
For the `run` installed (the only one available for CUDA 5.0 and older), you install it like this:
Ubuntu 14.04:
.. code-block:: bash
sudo apt-get install nvidia-current
sudo apt-get install nvidia-cuda-toolkit # As of October 31th, 2014, provide cuda 5.5, not the latest cuda 6.5
If you want cuda 6.5, you can download packages from `nvidia
<http://developer.nvidia.com/cuda-downloads>`_ for Ubuntu 14.04.
If you downloaded the `run` package (the only one available for CUDA 5.0 and older), you install it like this:
.. code-block:: bash
.. code-block:: bash
...
@@ -197,14 +207,20 @@ For the `run` installed (the only one available for CUDA 5.0 and older), you ins
...
@@ -197,14 +207,20 @@ For the `run` installed (the only one available for CUDA 5.0 and older), you ins
Since CUDA 5.5, Nvidia provide a DEB package. If you don't know how to
Since CUDA 5.5, Nvidia provide a DEB package. If you don't know how to
intall it, just double click on it from the graphical interface. It
intall it, just double click on it from the graphical interface. It
should ask if you want to install it.
should ask if you want to install it. On Ubuntu 14.04, you need to run
this in your terminal:
.. code-block:: bash
sudo apt-get update
sudo apt-get install cuda
You must reboot the computer after the driver installation. To test
You must reboot the computer after the driver installation. To test
that it was loaded correctly after the reboot, run the command
that it was loaded correctly after the reboot, run the command
`nvidia-smi` from the command line.
`nvidia-smi` from the command line.
You probably need to change the default version of gcc as
You probably need to change the default version of gcc as
`explained by Benjamin J. McCann <http://www.benmccann.com/blog/installing-cuda-and-theano/>`_:
`explained by Benjamin J. McCann <http://www.benmccann.com/blog/installing-cuda-and-theano/>`_ if the package you downloaded is for another Ubuntu version: