Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Ubuntu 9.10 is out!!!

When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu.

The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely.

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old April 19th, 2005   #1
wbeck85
A Carafe of Ubuntu
 
wbeck85's Avatar
 
Join Date: Mar 2005
Beans: 121
HOWTO: Install DC++ for linux

Hey Y'all! I just successfully installed DC++ for linux, that means, no confusing dcgui or dcgui-qt. It looks and behaves just like DC++ for Windows, but it looks better, even. No longer do I have to go through wine, and that makes me happy. Here's a helpful howto to get you running DC++ natively in linux.



Here goes:
First, you must download the sources from the linuxdcpp website via cvs. They do not have any binaries available.
so:
Code:
$ sudo cvs -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp login
   (leave password blank and hit enter)

$ cvs -z3 -d:pserver:anonymous@cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp co linuxdcpp
(This put a linuxdcpp folder in my home directory. I left it there, you may move it somewhere else if you would like to. Just keep in mind that the commands that follow assume the folder is in your home directory)

Ok, so you have the sources now, but you need to compile them and ubuntu does not come packaged with all the requirements. you need:

libgtk2.0-dev
libgtkmm-2.4-dev
libglademm-2.4-dev
zlib1g-dev
libbz2-dev
g++-3.4
libgtk2.0-bin
libgtk2.0-0
libgtk2.0-common
libgtkmm-2.4-1
libglademm-2.4-1

To make sure this is all installed apt-get the following. The packages you have installed already will be ignored, or upgraded (I think)
Code:
sudo apt-get install libgtk2.0-dev libgtkmm-2.4-dev libglademm-2.4-dev zlib1g-dev libbz2-dev g++-3.4 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common g++ libgtkmm-2.4-1 libglademm-2.4-1 scons
Also apt-get install your kernel headers.

This next part is apparently unnecessary. (Thanks to Chousuke for pointing that out) But I don't really feel like removing it because it took me a while.... So ignore the immediately following quote insert, unless you get a missing libglade error when running scons later on.
Quote:
Most of the stuff can be found in the repositories. However, I could not find libglade 2.4 so the next part of this howto is how to get and install libglade 2.4.

Go to http://www.zentek-international.com/.../libglade/2.4/ and download the most recent sources.
Extract them to a directory, I use ~/src (i made that directory for myself for sources i download)
To compile this, you will need to apt-get:
Code:
sudo apt-get install libglib2.0-dev libxml1 libxml2-dev
and apt-get whatever else you get yelled at for when trying to ./configure
so:
Code:
$ cd ~/src/libglade-2.4*
$ sudo ./configure
$ sudo make
$sudo make install
(So, hopefully, libglade-2.4 has successfully installed.
Next is to install the actual dcpp program so switch to the linuxdcpp directory that you downloaded)
Code:
$ cd ~/linuxdcpp  (mine was my home folder)

	(then run scons, which compiles the program for you)

$ sudo scons
And there you have it. It should work. The executable is in the ~/linuxdcpp directory. You should just be able to double click on it to run the program. To get it to show up in the the Gnome menu however, you will need to get the program Menu Editor. You can find that here. To install this program, download it, then switch to the directory to which you downloaded the .deb file and:
Code:
$ sudo dpkg -i menueditor*
Then open the program, which can be found in Applications>System Tools>Menu Editor. On the right, Enter the name you would like to show up in the menu, any comments you would like to enter about dcpp, and the command which will be:
Code:
/directory/in/which/the/executable/subsides/dcpp
, select an icon if that pleases you, and a category. Click save, exit menueditor and see if your program works (I hope it does!)

Well, good luck with this. I do not know how many people use DC++, but hopefully this howto works for those who want to use it.

This is my first howto, and I'm sure it needs work. Please, give me your feedback and I will edit the howto as needed.

(Edited 5/20/05 @ 1:30 pm to clean stuff up, added Chousuke's info in here, so thanks to him for that.)
__________________
Ubuntu User since Warty +1
Registered Linux User #388905

Last edited by wbeck85; May 11th, 2005 at 12:37 PM.. Reason: Missing g++ in package list
wbeck85 is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:39 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry