- Hands-On GPU Programming with Python and CUDA
- Dr. Brian Tuomanen
- 147字
- 2021-06-10 19:25:37
Setting up GCC, Eclipse IDE, and graphical dependencies (Linux)
Open up a Terminal from the Ubuntu desktop (Ctrl + Alt + T). We first update the apt repository as follows:
sudo apt-get update
Now we can install everything we need for CUDA with one additional line:
sudo apt-get install build-essential binutils gdb eclipse-cdt
Here, build-essential is the package with the gcc and g++ compilers, and other utilities such as make; binutils has some generally useful utilities, such as the LD linker, gdb is the debugger, and Eclipse is the IDE that we will be using.
Let's also install a few additional dependencies that will allow us to run some of the graphical (OpenGL) demos included with the CUDA Toolkit with this line:
sudo apt-get install freeglut3 freeglut3-dev libxi-dev libxmu-dev
Now you should be good to go to install the CUDA Toolkit.
推薦閱讀
- 電腦組裝與系統安裝
- Learning OpenDaylight
- 網絡操作系統:Windows Server 2003管理與應用
- Ansible權威指南
- WordPress Mobile Web Development:Beginner's Guide
- 嵌入式操作系統(Linux篇)(微課版)
- Linux使用和管理指南:從云原生到可觀測性
- 嵌入式系統及其應用(第三版)
- 完美應用RHEL 8
- Vim 8文本處理實戰
- Windows 8實戰從入門到精通(超值版)
- 分布式系統設計實踐
- Windows Vista終極技巧金典
- Learning Continuous Integration with Jenkins(Second Edition)
- Java EE 7 Developer Handbook