Installing the CUDA Toolkit (Linux)

In the case of Linux users, you will see that there are choices for using a .deb package and a .run file; for most users, I would suggest going with the .deb file, since this will install any missing packages that CUDA requires automatically. The .run file installs outside of your system's Advanced Package Tool (APT) system, which effectively just copies the appropriate files to the system's /usr binary and library directories. If you don't want to interfere with your system's APT system or repositories, and have a good understanding of Linux, the .run file may be more appropriate. In either case, carefully follow the instructions given on the site about installing the package, which can vary slightly from ...

Get Hands-On GPU Programming with Python and CUDA now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.