Setting up NVIDIA Nsight System and Nsight Compute on Ubuntu 24.04
Install dependencies
Nsight Compute requires libcursor to libxcb-cursor to run
sudo apt install libxcb-cursor-dev
Install Nsight Compute
Download Nsight Compute from the website.
Mark the downloaded file as executable, and then do
sudo ~/Downloads/nsight-compute-linux-2024.3.2.3-34861637.run
The default installation directory is /usr/local/NVIDIA-Nsight-Compute-2024.3/

Launch Nsight Compute
/usr/local/NVIDIA-Nsight-Compute/ncu-ui
Uninstall
To uninstall the NVIDIA Nsight Compute, please delete "/usr/local/NVIDIA-Nsight-Compute-2025.2" and remove symlink at "/usr/local/NVIDIA-Nsight-Compute"
Install Nsight Systems
Download from website.
Mark as executable, and then run
sudo ~/Downloads/NsightSystems-linux-public-2024.6.1.90-3490548.run
Default installation directory is /opt/nvidia/nsight-systems/2024.6.1/

Launch Nsight Systems
sudo /opt/nvidia/nsight-systems/2024.6.1/bin/nsys-ui
Uninstall
To uninstall the Nsight Systems 2025.3.1, please delete "/opt/nvidia/nsight-systems/2025.3.1"
Add to PATH
...
# NVIDIA
export PATH="/opt/nvidia/nsight-systems/2024.6.1/bin/:$PATH"
export PATH="/usr/local/NVIDIA-Nsight-Compute/:$PATH"
...
Start Profiling

Last updated
Was this helpful?