红联Linux门户
Linux帮助

I just successfully installed DC++ for linux

发布时间:2007-10-13 21:24:32来源:红联作者:hearer
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.

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

$ cvs -z3 -dserver: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:

Gtk+ 2.4 (in repositories, get libgtk2.0-dev)
libglade 2.4 (download source and compile)
pthread (in repositories as kaffe-pthreads, i do not know if this was the file to which they were referring, but it worked for me)
zlib (in repositories, you need zlib1g-dev)
libbz2 (in repositories, you need libbz2-dev))
scons (in repositories as scons)
g++ 3.4 (in repositories as g++-3.4)

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...s/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 get:

libglib2.0-dev (in repositories as libglib2.0-dev)
libxml1 (in repositories as libxml1)
libxml2-dev (in repositories as libxml2-dev)

and whatever else you get yelled at for when trying to ./configure
so:

$ 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)

$ 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:
$ 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 /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.

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. I did alot of it from memory, as I didn't get the idea to write a howto for this until after I installed dcpp, and I didnt really feel like going through the entire install again. Sorry. So, you may have to experiment with which packages need installing, precisely, to get the ./configure and scons commands to complete, as I do not precisely remember which ones I needed to install. Sorry about that.
文章评论

共有 0 条评论