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-7.5_Samples with sh cuda_7.5.18_linux.run --silent --samples --samplespath=$HOME --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 * libgles2-mesa-dev * libglu1-mesa-dev * libnvcuvid1 (not on Ubuntu based systems) * 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-7.5_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 Tue, 01 Mar 2016 15:40:34 +0100