Saturday, November 18, 2006

Post HOWTO: Install LinuxDC++

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:


To do this in one command:
sudo apt-get install cvs scons build-essential libgtk2.0-dev libglade2-dev zlib1g-dev libbz2-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:
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:

cvs login
[hit enter when prompted for the password]

cvs -z3 co linuxdcpp
Now to install (you can set PREFIX to whatever, but I'd recommend /usr/local):
cd linuxdcpp
scons release=1 PREFIX=/usr/local
sudo scons install
To run:
Note: Turn off Assistive Technology Support before running LinuxDC++ (System->Preferences->AST). For some reason, it makes ldcpp 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:
cd /path/to/source/dir
cvs update -d
To uninstall LinuxDC++:
cd /path/to/source/dir
sudo scons -c install
Then you can delete your source directory if you like.

taken from

No comments: