CIS 565 - Setup instructions for your Linux PC
Setup your Linux Computer
Follow this guide to setup your personal Linux computer.
This guide assumes that you have root access to your computer.
- Install basic C/C++ compilation tools (gcc, g++, make etc.) installed. For Debian/Ubuntu, we recommend the
build-essential
package. - Install
git
using package manager. Examplesudo apt install git
on Debian/Ubuntu.- After installation, follow the First Time Git Setup Guide if this is the first time you are using Git.
- Install CUDA 11. You can either use the downloaded version or your package manager. Install the NVIDIA Driver if it is newer than the installed version. Make sure you also install Nsight.
- Install CMake (
sudo apt install cmake
on Debian/Ubuntu). - Install glfw and glew (
apt install libglfw3-dev libglew-dev
on Debian/Ubuntu). - (Recommended) Nsight is a debugging and profiling tool shipped with CUDA. We recommend adding the CUDA executables to your
PATH
usingexport PATH=/usr/local/cuda/bin/:${PATH}
. Note that using theexport
command is a temporary change through the life of the terminal. For permanent change, add it to your shell configuration file, e.g.~/.bashrc
on Ubuntu). You can run then run Nsight by typingnsight
in your terminal.