Professional Documents
Culture Documents
FOR LINUX
DU-05347-001_v6.0 | February 2014
Installation and Verification on Linux Systems
www.nvidia.com
NVIDIA CUDA Getting Started Guide for Linux DU-05347-001_v6.0|ii
TABLE OF CONTENTS
Chapter 1. Introduction.........................................................................................1
1.1. System Requirements.................................................................................... 1
1.2. About This Document.................................................................................... 2
Chapter 2. Pre-installation Actions...........................................................................3
2.1.Verify You Have a CUDA-Capable GPU................................................................ 3
2.2.Verify You Have a Supported Version of Linux....................................................... 3
2.3. Verify the System Has gcc Installed................................................................... 4
2.4. Choose an Installation Method......................................................................... 4
2.5. Download the NVIDIA CUDA Toolkit....................................................................5
Chapter3.Package Manager Installation....................................................................6
3.1. Prerequisites............................................................................................... 6
3.2. Redhat/CentOS............................................................................................ 6
3.3. Fedora...................................................................................................... 7
3.4. SLES......................................................................................................... 8
3.5. OpenSUSE...................................................................................................8
3.6. Ubuntu...................................................................................................... 9
3.7. L4T......................................................................................................... 10
3.8.Additional Package Manager Capabilities............................................................10
3.8.1. Available Packages................................................................................. 10
3.8.2. Package Upgrades..................................................................................11
Chapter 4. Runfile Installation...............................................................................12
4.1. Pre-installation Setup...................................................................................12
4.2. Prerequisites..............................................................................................12
4.3. Contents.................................................................................................. 12
4.4. Graphical Interface Shutdown.........................................................................13
4.5.NVIDIA Driver RPM/Deb package uninstallation.................................................... 13
4.6. Installation................................................................................................13
4.7. Interaction with Nouveau.............................................................................. 14
4.8. Extra Libraries........................................................................................... 14
4.9. Verifications.............................................................................................. 14
4.10. Graphical Interface Restart.......................................................................... 15
4.11. Post-installation Setup................................................................................ 15
Chapter 5. Post-installation Actions........................................................................ 16
5.1. Environment Setup...................................................................................... 16
5.2.(Optional) Install Writable Samples.................................................................. 16
5.3. Verify the Installation.................................................................................. 17
5.3.1. Verify the Driver Version......................................................................... 17
5.3.2. Compiling the Examples.......................................................................... 17
5.3.3. Running the Binaries.............................................................................. 17
Chapter 6. Additional Considerations...................................................................... 20
www.nvidia.com
NVIDIA CUDA Getting Started Guide for Linux DU-05347-001_v6.0|1
Chapter1.
INTRODUCTION
CUDA
Nsight
Eclipse Edition,
NVIDIA Visual Profiler, cuda-gdb, and cuda-memcheck.
For technical support on programming questions, consult and participate in the
developer forums at http://developer.nvidia.com/cuda/.
Notice
ALL NVIDIA DESIGN SPECIFICATIONS, REFERENCE BOARDS, FILES, DRAWINGS,
DIAGNOSTICS, LISTS, AND OTHER DOCUMENTS (TOGETHER AND SEPARATELY,
"MATERIALS") ARE BEING PROVIDED "AS IS." NVIDIA MAKES NO WARRANTIES,
EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO THE
MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF
NONINFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR
PURPOSE.
Information furnished is believed to be accurate and reliable. However, NVIDIA
Corporation assumes no responsibility for the consequences of use of such
information or for any infringement of patents or other rights of third parties
that may result from its use. No license is granted by implication of otherwise
under any patent rights of NVIDIA Corporation. Specifications mentioned in this
publication are subject to change without notice. This publication supersedes and
replaces all other information previously supplied. NVIDIA Corporation products
are not authorized as critical components in life support devices or systems
without express written approval of NVIDIA Corporation.
Trademarks
NVIDIA and the NVIDIA logo are trademarks or registered trademarks of NVIDIA
Corporation in the U.S. and other countries. Other company and product names
may be trademarks of the respective companies with which they are associated.
Copyright