cuda-gdbserver command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
cuda-gdbserver: command not found
or when using sudo you get the following error message
sudo: cuda-gdbserver: command not found
Solutions to cuda-gdbserver: command not found
How To Fix cuda-gdbserver: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cuda-gdbserver is provided by nvidia-cuda-gdb package.
nvidia-cuda-gdb is:
The Compute Unified Device Architecture (CUDA) enables NVIDIA graphics processing units (GPUs) to be used for massively parallel general purpose computation.
This package contains the cuda-gdb debugger.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nvidia-cuda-gdb
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nvidia-cuda-gdb.
sudo apt -y install nvidia-cuda-gdb
Or if you have aptitude installed you can use the following command.
sudo aptitude install nvidia-cuda-gdb
Summary
In this tutorial we learn how to fix cuda-gdbserver command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.