microdc2 command not found

In this troubleshooting guide we learn how to fix microdc2 command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

microdc2: command not found

or when using sudo you get the following error message

sudo: microdc2: command not found

Solutions to microdc2: command not found

How To Fix microdc2: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu microdc2 is provided by microdc2 package.

microdc2 is:

microdc2 is a command-line based Direct Connect client that uses the GNU Readline library for user interaction. It was developed from ground up and does not depend on any other program. Despite the command-line user interface, it was designed to be user friendly and simple to use. It can work on headless host (under screen, for instance) ant thus, doesn’t require you to run an expensive X11 session, as other clients do.

microdc2 is currently in beta state - there may be many bugs not yet discovered. It also lacks some features that other clients support, such as file hashing, multiple hub connections, and hub list support.

Direct Connect protocol is used for P2P file sharing. See it’s description on http://en.wikipedia.org/wiki/Direct_Connect_(file_sharing).

To fix this problem, we can install more using the command below.

sudo apt-get -y install microdc2

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install microdc2.

sudo apt -y install microdc2

Or if you have aptitude installed you can use the following command.

sudo aptitude install microdc2

Summary

In this tutorial we learn how to fix microdc2 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.