gd2i command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gd2i: command not found
or when using sudo you get the following error message
sudo: gd2i: command not found
Solutions to gd2i: command not found
How To Fix gd2i: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gd2i is provided by gendarme package.
gendarme is:
Gendarme is a extensible rule-based tool to find problems in .NET applications and libraries. Gendarme inspects programs and libraries that contain code in ECMA CIL format (Mono and .NET) and looks for common problems with the code, problems that compiler do not typically check or have not historically checked.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gendarme
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gendarme.
sudo apt -y install gendarme
Or if you have aptitude installed you can use the following command.
sudo aptitude install gendarme
Summary
In this tutorial we learn how to fix gd2i command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.