Personal tools

An excellent Linux DC++ tutorial

From Dtella Wiki

Jump to: navigation, search

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

Please happily note that this tutorial also works for Gutsy.



Tutorial

First off, for those that don't know, LinuxDC++ is a Linux port of the file-sharing program DC++. It uses the DC++ core but with a GTK+ GUI. It has also been called by many other names including: linuxdcpp, ldcpp, dcpp, ldc++, dc++ for linux, wulfor. I'm a developer on LinuxDC++ and thought I'd write up a guide to install LinuxDC++ on Dapper and Edgy. There are a few older guides for Hoary and Breezy, but I've never really liked them since they install unnecessary packages, so I thought I'd write a fresh one for Dapper and Edgy.


First, download the required dependencies:


cvs

scons

build-essential

libgtk2.0-dev

libglade2-dev

zlib1g-dev

libbz2-dev

libssl-dev


To do this in one command:


Code:


sudo apt-get install cvs scons build-essential libgtk2.0-dev libglade2-dev zlib1g-dev libbz2-dev libssl-dev

Note: I didn't have this problem, but some people also needed libglitz1-dev in order for pkg-config to detect GTK+ on Dapper. If scons fails when checking for GTK+, run this command:


Code:


sudo apt-get install libglitz1-dev


There are no official releases of the program since it's still in alpha. This means that there exists no official binaries for any distribution. However, to install LinuxDC++ you can download it through CVS. Run these commands in your home directory or somewhere else where you have write access:

Code:

cvs -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp login

[hit enter when prompted for the password]

cvs -z3 -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp co linuxdcpp

Now to install (you can set PREFIX to whatever, but I'd recommend /usr/local):

Code:

cd linuxdcpp

scons release=1 PREFIX=/usr/local

sudo scons install


To run:

Code:

linuxdcpp

Dapper only note: Turn off Assistive Technology Support before running LinuxDC++ (System->Preferences->AST). For some reason, it makes linuxdcpp run very slowly and display a bunch of errors.


When we update the source, you can update your linuxdcpp source and re-run the scons & scons install commands from above to install it again. To update the source:


Code:


cd /path/to/source/dir

cvs update -d


To uninstall LinuxDC++:


Code:


cd /path/to/source/dir

sudo scons -c install


Then you can delete your source directory if you like.


External Links

  • LinuxDC++: official homepage
  • LinuxDC++ Wiki: You can find our FAQ and our manual here.
  • LinuxDC++ bug tracker: File any bugs you encounter here. Make sure to read the debug section of the manual before doing so, though.
  • DC++: original windows DC++ program that LinuxDC++ is based on.
  • #linuxdc++@freenode.net: Visit our IRC channel if you have any questions. Author is usually there under the nick "_steven_"; if I'm not, just ask in the channel and somebody should hopefully respond.