nvidia-cuda-toolkit for Debian ------------------------------ Installing the CUDA Code Samples ================================= The CUDA Code Samples come with non-redistributable media files (images, videos, ...) and therefore cannot be packaged. (See https://bugs.debian.org/702948 for details.) To install the CUDA Code Samples, download the RUN installer for Linux from https://developer.nvidia.com/cuda-downloads#linux This download includes an old driver and the full toolkit, but unfortunately there is no separate download available for the Samples. Install the Samples to ~/NVIDIA_CUDA_6.0_Samples with sh cuda_6.0.37_linux_64.run --silent --samples --samplespath=$HOME/NVIDIA_CUDA_6.0_Samples --toolkitpath=/usr (Adjust the version numbers if you downloaded a different version.) The following Debian packages are needed to build the examples: * freeglut3-dev * libgl1-mesa-dev * libglu1-mesa-dev * libx11-dev * libxi-dev * libxmu-dev This optional package will be used if it is installed, too: * mpi-default-dev To build the example programs, change to the directory where the Samples were installed (by default: ~/NVIDIA_CUDA_6.0_Samples/) and run MA_LIBDIR=/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH) make OPENMPDIR=$MA_LIBDIR CUDA_SEARCH_PATH=$MA_LIBDIR GLPATH=$MA_LIBDIR For more information on the Samples, please see https://developer.nvidia.com/cuda-code-samples -- Andreas Beckmann Sun, 12 Oct 2014 21:22:41 +0200