PDA

View Full Version : [SOLVED] HOWTO: Install Linux DC++ (the easy way)



arnieboy
October 15th, 2005, 05:52 PM
Written by mird (http://ubuntuforums.org/member.php?u=18027)
Edited by arnieboy
What is DC++?

DC++ announces the freedom to share! DC++ is an open source client for the Direct Connect protocol. Direct Connect allows you to share files over the internet without restrictions or limits. The client is completely free of advertisements and has a nice, easy to use interface. Firewall and router support is integrated and it’s easy and convenient to use functionality like multi-hub connections, auto connections and resuming of downloads.

09/Aug/2005 - More CVS commits, as per usual see the project changelog (http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/linuxdcpp/linuxdcpp/Changelog.txt?rev=HEAD&content-type=text/plain) for details. New package details in the instructions below.

24/Jul/2005 - Another recent commit (see the project changelog (http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/linuxdcpp/linuxdcpp/Changelog.txt?rev=HEAD&content-type=text/plain) for details) and a new package which should also (hopefully) fix the dependency issues for anyone not using Backports. I've updated the instructions below to reflect the new package.

01/Jul/2005 - There were a few commits to the dcpp repository in the last week (see the project changelog for details) so I've built and packaged it up for all. Also added menu file for those that wanted it (plz test k thx!). To install (or upgrade to) the latest package follow the steps below.

---

I've built and packaged the latest version (plus some patches - currently only the user-commands patch by s4kk3 as mentioned here (http://www.ubuntuforums.org/showthread.php?p=141959#141959)) of Linux DC++ for anyone who is interested. Development on this particular project is a bit unorganised and rather intermittent but I'll do my best to maintain the latest version. Note that this is considered unstable software. There are bugs'o'plenty and although it works quite satisfactorily for me, it may not for you. Please submit useful bug reports to the project's bugtracker (http://developer.berlios.de/bugs/?group_id=2230).

There may be some additional dependencies which I didn't note as this is the first time I've tried to decipher dependencies from a built binary. Never-the-less do let me know if you have any problems.

INSTALL / UPGRADE

1. Install dependencies.

sudo apt-get install libatk1.0-0 libbz2-1.0 libc6 libgcc1 libglade2-0 libglib2.0-0 libgtk2.0-0 libpango1.0-0 libstdc++6 libxml2 zlib1g
2. Fetch the package.

wget http://newstuff.orcon.net.nz/ubuntu/dcpp/dcpp_0.0.20050809cvs-1~mird_i386.deb
3. Install the package.

sudo dpkg -i dcpp_0.0.20050809cvs-1~mird_i386.deb
And that's it! There should now be a Linux DC++ icon under Applications -> Internet.

deception
October 15th, 2005, 06:56 PM
You can also add it under "Add Applications" under the Applications menu :KS

Thanks for posting ;)

era
October 17th, 2005, 11:26 AM
For the benefit of those of us who don't (or didn't) know why we would or would not want to do this, perhaps you could explain what DC++ is?

(Apparently a file-sharing client which sort of looks like IRC -- http://dcplusplus.sourceforge.net/ )

WetWilly
October 19th, 2005, 01:35 AM
If you dont want the bugs of this old version then please build it from CVS.

http://www.ubuntuforums.org/showthread.php?t=89603

pelago
October 19th, 2005, 09:16 PM
You can also add it under "Add Applications" under the Applications menu :KS

Thanks for posting ;)
The thing in Add Applications is the normal (i.e. not as good) Direct Connect client, not DC++.

NeoChaosX
October 23rd, 2005, 04:07 AM
Hey arnieboy, does the bugs you're talking about include the program not placing finished downloads in the download directory and just leaving them in the Incomplete folder?

arnieboy
October 23rd, 2005, 04:09 AM
Hey arnieboy, does the bugs you're talking about include the program not placing finished downloads in the download directory and just leaving them in the Incomplete folder?
I wasnt talking abt the bugs, mird was. u might wanna mail him if u have any q's.

JeffBlouin
October 31st, 2005, 05:41 PM
Hi,

Very newbie question but how do I uninstall DC++ or any other .deb package

Thanks...

arnieboy
October 31st, 2005, 05:52 PM
Hi,

Very newbie question but how do I uninstall DC++ or any other .deb package

Thanks...
open synaptic search for the package by name, find it and remove it.

Youghurt
November 2nd, 2005, 03:24 PM
Great! And now I just have to increase my FAT partition.

arnieboy
November 2nd, 2005, 03:45 PM
Great! And now I just have to increase my FAT partition.
use partition magic in dos mode. create a dos boot diskette, boot into dos, cd to the cdrom folder which contains ur partiton magic (version 8+) and do it from there. its the easiest and the least error prone... beats the windows version hands down. I am not sure but I think even the evaluation version of partition magic has the free and complete dos version included. its generally in a folder called "dos" inside the partition magic folder in program files on windows when u install it.

toots
November 14th, 2005, 02:08 AM
Great application!

arnieboy
November 14th, 2005, 02:13 AM
Great application!
lol.. why did u take the link to ur repo down within 2 minutes of posting them? :)

arnieboy
November 14th, 2005, 02:14 AM
Hi all!

I've made a .deb for this bieautifull app, add the following to your /etc/apt/sources.list:


deb http://www.cti.ecp.fr/~beauxir5/ubuntu binary/
deb-src http://www.cti.ecp.fr/~beauxir5/ubuntu source/

Then apt-get update and apt-get install linuxdcpp :)


Please email feedbacks to toots at rastageeks dot org, I'm reading those forums regulary..

Romain
if this is not another fly-by-night repository, then I will be glad to add it.

lucas
March 5th, 2006, 04:19 PM
Just wondering if anyone has made newer builds for this? :)

ProNoblem
March 8th, 2006, 12:31 AM
Just wondering if anyone has made newer builds for this? :)
Dito :), 0.674 keeps hanging on my badger, so just wondering if anyone has some new stuff, otherwise I'll just try the cvs version I guess :)

darknightuk
March 8th, 2006, 12:47 AM
Dito :), 0.674 keeps hanging on my badgerouch thats sound painful;)

Dito :), 0.674 keeps hanging on my badger, so just wondering if anyone has some new stuff, otherwise I'll just try the cvs version I guess :)remember ldcpp is still well into early development don't expect too much from it quite yet it will freeze and crash but it's getting there the cvs seems stable enough at the moment but it has crapped out on me a few times

s_spiff
March 8th, 2006, 05:01 AM
finally a nice sweet how to for something i broke my head over... I did finally install it... but only after looking around like a nut case.. i wish i saw this thread earlier!!! thnx Arnieboy...seems like you're totally into making HOWTO's! too cool!

WetWilly
March 8th, 2006, 10:44 AM
s_spiff, the negative thing about this guide is that the dc++ version is _very_ old and has stupid bugs, it would be better for the stability of the client to build it from cvs, look the howto in my sig.

zacman
March 14th, 2006, 08:41 PM
I tweaked the linuxdcpp package from debian unstable so that the dependencies work with Ubuntu. It's a pretty recent CVS snapshot (02/17/2006) and works great. Get it here. (http://bassfreq.home.comcast.net/linuxdcpp_cvs20060217.deb)

rantak
March 17th, 2006, 04:06 PM
Thanks zacman for the new deb, this one seems much more stable than the previous versions.

I have a small problem though. DC++ won't save my hashes unless run as sudo. Can anyone help with that?

e2k
March 18th, 2006, 01:51 AM
I tweaked the linuxdcpp package from debian unstable so that the dependencies work with Ubuntu. It's a pretty recent CVS snapshot (02/17/2006) and works great. Get it here. (http://bassfreq.home.comcast.net/linuxdcpp_cvs20060217.deb)
Thanks for this one, I'll check it out \\:D/

korami
March 18th, 2006, 10:36 AM
First of all, thanks for the deb zacman.


I have a small problem though. DC++ won't save my hashes unless run as sudo. Can anyone help with that?

Just a hint Rantak...
Are all of your shared files rehashed, or only part of them? I ask because at the beginning I thought too that my hashes aren't saved, then at a closer look I noticed that only the files with special characters (e.g. "ouvertür") are being rehashed. This might be related to a known issue I read somewhere about regarding special characters not being handled correctly by linuxdcpp.

rantak
March 19th, 2006, 09:52 AM
Just a hint Rantak...
Are all of your shared files rehashed, or only part of them? I ask because at the beginning I thought too that my hashes aren't saved, then at a closer look I noticed that only the files with special characters (e.g. "ouvertür") are being rehashed. This might be related to a known issue I read somewhere about regarding special characters not being handled correctly by linuxdcpp.

No, it's all of the files. If don't run dcpp as sudo, after hashing if go to see my shares theres 0 bytes there. The hashing seems to work correctly, I think I have a problem with some directory ownership or something. It's not a big problem though, because everything works ok when run with sudo.

stevensheehy
March 26th, 2006, 08:46 AM
ldcpp doesn't handle permissions very well because the DC++ core doesn't. You should check your profile folder to make sure you have permissions to write in it. Should be at ~/.dc++

The rehashing of non-ascii chars has been fixed on more recent dc++ cores and we are in the process of porting the latest dc++ core to linuxdcpp.

fizz
March 31st, 2006, 12:29 AM
sweet... i have some issues with current build, where your some how like half connected to a server. (ie: in search screen it still shows connecting for the server) even though chat is going on and you see room list.

stevensheehy
March 31st, 2006, 02:21 AM
Then you are connected just fine. The problem in search screen is a unicode problem. If the hub name contains non-ascii chars, ldcpp has trouble converting them so it displays the default "connecting" label. If you'll notice, the name on the hub tab is set to it's IP because of the same reason.

talkingwires
March 31st, 2006, 06:30 PM
I've got DC++ up and running, but it refuses to hash my MP3s. Oh, it'll hash my folder.jpg files and M3U playlists, but it won't touch MP3s. Glancing through the XML configs doesn't reveal an extension blacklist. How do I fix this?

stevensheehy
April 1st, 2006, 05:30 AM
I've got DC++ up and running, but it refuses to hash my MP3s. Oh, it'll hash my folder.jpg files and M3U playlists, but it won't touch MP3s. Glancing through the XML configs doesn't reveal an extension blacklist. How do I fix this?
Make sure the mp3 filenames are ascii only (and the folder containing them). If they are, then I don't know. Not really ldcpp's problem since the hashing is done completely by the DC++ core. As I said above, they have fixed some bugs on the hashing in more recent DC++ versions. Naga is in the process of porting it so you can test his branch to see if the newer dc++ core fixes things if you'd like:
http://ldcpp.dx.homelinux.org/ldcpp

Back up your profile first, as you will lose the sources for your queued items.

talkingwires
April 1st, 2006, 07:02 AM
Make sure the mp3 filenames are ascii only (and the folder containing them). If they are, then I don't know. Not really ldcpp's problem since the hashing is done completely by the DC++ core. As I said above, they have fixed some bugs on the hashing in more recent DC++ versions. Naga is in the process of porting it so you can test his branch to see if the newer dc++ core fixes things if you'd like:
http://ldcpp.dx.homelinux.org/ldcpp

Back up your profile first, as you will lose the sources for your queued items.Hey, I'm an idiot. And the program's UI is a little wonky. First closing my shared list, then refreshing it, and finally reopening it gets all the files to appear. Why only JPGs and M3Us would appear automatically, but MP3s wouldn't is beyond me.

Gaimlz
April 15th, 2006, 03:50 PM
Thanks for the great howto. But what's up with this project. Are there any sites, or some new updates? bugfix and so on.

darknightuk
April 15th, 2006, 04:38 PM
Thanks for the great howto. But what's up with this project. Are there any sites, or some new updates? bugfix and so on. project is still well active if you want the latest dev/test version d/l the cvs ldc++ has some a long way imo and linux is one of the reasons it's my main O's now

stevensheehy
April 16th, 2006, 05:34 AM
Yeah, I would not recommend installing a package unless it's continually updated, since there have been quite a bit of changes in cvs. You can see a changelog on the main LinuxDC++ (http://linuxdcpp.berlios.de/articles.php?um=index) site. Me and another guy made a tray icon patch that should make its way into CVS soon. I've got more fixes on the way.

Owdy
August 5th, 2006, 04:12 PM
Thanks for this, but package is guite old. Any updates?

stevensheehy
August 6th, 2006, 08:31 PM
Thanks for this, but package is guite old. Any updates?

http://www.ubuntuforums.org/showthread.php?t=193984

Owdy
August 6th, 2006, 08:46 PM
http://www.ubuntuforums.org/showthread.php?t=193984
Sweet. Thanks.

SteffJay
October 14th, 2006, 08:02 PM
It would be nice if a HOWTO could be made for the DC Server as well..... I want to try that but i cannot find one anywhere..... ;)

dustman
January 22nd, 2007, 05:36 PM
I installed as you said, but when somebody wants to get files from me, or if I want to get something from anyone, Linux DC ++ practically shutsdown my internet connection, I cannot enter any websites, GAIM messenger is out of the question and not even getting packages from my terminal seems not working....Why? :((

piyushjain
February 10th, 2007, 10:00 PM
while installing dc++ i encountered the following error...
"Resolving newstuff.orcon.net.nz... failed: Temporary failure in name resolution."
i hv tried a no. of methods to install dc++ but cud not really succeed...
cn any plz help me in installing dc++ on my pc