Ubuntu / Linux news and application reviews.

Microdc2 is a command-line based Direct Connect (I will refer to it as DC++ because that's what most people call it even when not using DC++ - the application) client for Linux. What's so great about it is the speed and low system resources required (like for any shell application). Another thing I really like about Microdc2 is that you can basically browse the files like you would on your own computer: once you connect to a user, simply use basic commands like "cd", "ls" and so on.

Microdc2 doesn't have an option to directly download files like the standard DC++ so you must manually browse a user after searching for a file, but I was doing that anyway so I don't find this to be very inconvenient. And since the DC++ clients for Linux constantly freeze my computer, I decided to try a console application for Direct Connect and so I find out about Microdc2.

Installing and using Microdc2 (Ubuntu)


I tried compiling Microdc2 on my computer, but even though it only has a few dependencies, it fails. It could have something to do with it being pretty old. But I found an Ubuntu .deb file which, even though it was created with checkinstall, it works if you install the dependencies manually. So here is what you need to do:

1. Install the dependencies (you can also try to compile it if you want, download microdc2 source package from HERE):
sudo apt-get install libreadline5-dev libxml2-dev libbz2-dev

2. Then, simply download THIS Microdc2 .deb package.


Microdc2 doesn't remember some settings so you have create a config file. To create one, enter this:
sudo gedit ~/.microdc2/config

And enter this:

# Set active or passive and listen port. Note: listen port must be set before active/passive
#set listenport xxxx
set active on

# The following address should be set to your external ip address.
set listenaddr xxx.xxx.xxx.xxx

# Set auto reconnect on
set auto_reconnect on

# These should all be pretty self-explanatory.
set description microdc2
set email my@email.com
#set password xxxx
set downloaddir /path/to/downloads

# The set speed option doesn't actually change anything, it only changes your REPORTED speed that other users see. The slot is how many simultaneous downloads people can get from you.
set speed 100
set slots 40

#This is the hub connect command, must be the last command in the config file
#connect xxx.xxx.xxx.xxx:pppp

Edit the file as you wish, enable and disable options, etc.

Then, start Microdc2 by typing "microdc2" in a terminal. Then type "help" to see the available options. To understand easily, I've created a small video with some basic usage (connect to a DC++ Hub, search for a file, browse a user and start downloading a file):