dlv command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dlv: command not found
or when using sudo you get the following error message
sudo: dlv: command not found
Solutions to dlv: command not found
How To Fix dlv: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dlv is provided by delve package.
delve is:
Delve enables you to interact with your program by controlling the execution of the process, evaluating variables, and providing information of thread/goroutine state, CPU register state and more.
To fix this problem, we can install more using the command below.
sudo apt-get -y install delve
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install delve.
sudo apt -y install delve
Or if you have aptitude installed you can use the following command.
sudo aptitude install delve
Summary
In this tutorial we learn how to fix dlv command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.