Eclipse CUDA Plugin: Ubuntu Installation Guide
Installing Eclipse, the CDT tools, and NVCC.
Before installing the plugin, make sure your Eclipse environment is setup correctly. You need the Eclipse SDK, the C/C++ development tools (Eclipse-CDT) and the NVIDIA CUDA toolkit. Eclipse and Eclipse-cdt are in the Ubuntu repositories, and can be installed with the following command:
"sudo apt-get install eclipse eclipse-cdt"
The CUDA toolkit is available here: http://developer.nvidia.com/object/cuda_download.html. Once downloaded run (in a terminal):
"chmod +x cudatoolkit_3.2.16_linux_64_ubuntu10.04.run"
"sudo cudatoolkit_3.2.16_linux_64_ubuntu10.04.run"
"sudo cudatoolkit_3.2.16_linux_64_ubuntu10.04.run"
Follow the on screen instructions, and we're ready to install the plugin!
Installing the Plugin
The simplest way to install the plugin is to use the Fixstars Equinox Repo, for more installation options and further detail see the End User Documentation. To install using the repo, start Eclipse and do the following:
- Select Help -> Install New Software
- Choose 'Add', and add one of the following repositories:
- For Eclipse 3.5.2 Galileo, use http://ydl.net/eclipse_cuda_plugin/galileo/.
- For Eclipse 3.6.1 Helios, use http://ydl.net/eclipse_cuda_plugin/helios/.
- Back in the Plugin manager, select the new repo from the dropdown menu.
- Select the cuda plugin, hit next, and follow the prompts to complete the install.
- Restart Eclipse.




