View Full Version : Direct Connect on Linux and Bittorrent on Linux
View Full Version : Direct Connect on Linux and Bittorrent on Linux
Power Penguin
August 10th, 2003, 02:59 PM
I downloaded an RPM for Bittorrent but I don't know how to install it. Can anyone help?
I've just spent three days getting my modem to work, so this is all I need. :-/
I have Red Hat 9.0
Sockfulloflove
August 10th, 2003, 03:00 PM
I was able to set up a DC Linux mod on Mandrake. But never BT. Notbob gave me the link to the DC Linux, I forget the name.
cpugeniusmv
August 10th, 2003, 03:05 PM
at the command line...
rpm -i lala.rpm
DCGUI (http://dc.ketelhot.de/)
Power Penguin
August 10th, 2003, 03:33 PM
Amazingingly I typed "Diect COnnect For Linux" into Google, and this came up. Now why didn't I think of this before I posted. Don't answer that :-/
http://dc.ketelhot.de/download.php
Oh I've just seen the link by CPU. Thanks.
Sockfulloflove
August 10th, 2003, 03:57 PM
The one CPU gave is the same one I had.
Power Penguin
August 10th, 2003, 03:58 PM
How do I now run direct connect? It doesn't appear in the "Start Menu"!
Thanks.
EDIT. DOesn't matter, you gotta use the command line. Weird!
isamoor
August 10th, 2003, 04:04 PM
If you're running kde, there should be a search for menu apps option that might add an entry.
Otherwise, you're gonna have to do it the good ol' way. :) Just open up a terminal and try typing "dc" or maybe it's dc++. Or you ca just search your hard drive for dc* until you find the binary command.
As far as bittorrent, there is an official release for linux. You just download the archive and unpack it. Then you open a terminal in the directory and run it from there. No install needed. There should be a manual in there about how to use it. :)
Hope that helps,
Later,
Isamoor
cpugeniusmv
August 10th, 2003, 04:09 PM
Originally posted by Will Rae
How do I now run direct connect? It doesn't appear in the "Start Menu"!
Thanks.
EDIT. DOesn't matter, you gotta use the command line. Weird!
you can create a "shortcut" on the desktop when you find it...
it's in /usr/bin/somethingorother
look for something with "dcgui" in the name.
BloodStraw
August 10th, 2003, 04:46 PM
in the start meny go to "command" (or something long time ago i used lin) and type "thenameoftheapp" (without qoutes) and it should launch
Power Penguin
August 10th, 2003, 07:53 PM
http://rpmfind.net/linux/rpm2html/search.php?query=BitTorrent
As I can't get Kazaa for movies, this is my next best thing.
I download the first rpm on to the desktop, I double-clicked it, yet it just sits there.
Also I would like to hear about must have P2P applications for linux.
isamoor
August 10th, 2003, 08:14 PM
The bittorrent app is a CL (command line) app. You can't just click on it. You have to read the directions and open up a terminal and type the appropriate commands. At the same time, that doesn't slow it down a bit. You'll probably blaze even faster if you can since linux is better than almost any windows at number of simultaneous TCP/IP connections.
The best P2P apps in my opinion are GTK-Gnutella for music and Xmule for anything bigger than 10 megs.
If you have mandrake, just add the plf as a source and then update it and you should be able to install those apps through rpmdrake.
Later,
Isamoor
P.S. Oh, and you can get kazaa, but I don't think that's worth trying for you yet. It takes a bit of work. When you feel up to the challenge, head over to Frank's Corner for help.
Power Penguin
August 10th, 2003, 08:20 PM
I realise Bittorrent is a command line app. But at the moment it is an RPM file on the desktop. NOT a folder.
When I double click the RPM nothing seems to happen. How do I know what the hell is going on with this thing?! There are no directions just this :
bittorrent-3.2.1b-5mdk.src.rpm
cpugeniusmv
August 10th, 2003, 08:21 PM
what is the PLF?
isamoor
August 10th, 2003, 08:54 PM
Sorry Will, misunderstood what you meant. You have yourself a source rpm there. You would need to compile it, and I doubt you installed the tools needed. Lettme redirect you a bit here...
Go over to their home page here and grab the files listed as "source". http://bitconjurer.org/BitTorrent/index.html
Specifically this one:
http://bitconjurer.org/BitTorrent/BitTorrent-3.2.1b.tar.gz
I don't know why they call it source, since it's actually the full program. Unpack that somewhere and then you should have the directions and the program in that directory.
If you do ever want to install a third party rpm, the easiest way is just to go the command line, become root, and use the rpm command. Open up a terminal and type "man rpm" to learn about it. Common option combos are -Ivh or -Uvh to update.
Your rpm was a .src.rpm though, and it wouldn't work like that.
Now on to the PLF. This is a mandrake only group. They help out by releasing all the apps that mandrake can't or won't. Such as DVD players and console emulators. They also lend themselves to the p2p crowd.
They have their website here, and the second link explains how to add their sources to urpmi (rpmdake).
http://plf.zarb.org/
http://plf.zarb.org/~nanardon/
Urpmi is mandrake's version of apt-get, and their most underrated feature. The gui version is the rpmdrake in the control center, which is what you might want to use to browse around in. Urpmi can download and install any app it knows about and also download and install any of it's dependencies it knows about. Works pretty well too, although maybe not quite as nice as the classic apt-get.
The plf keep a package repository that can be easily integrated into urpmi. After you add their sources and update them, installing gtk-gnutella would be as easy as typing "urpmi gtk-gnutella" at the command prompt. Of course you can use the gui (rpmdrake) too.
Hope that explains some stuff.
Later,
Isamoor
edit: I forgot to mention that you redhat people out there can use the freshrpms people instead of the plf. They install an rpm adapted version of apt-get with the gui of synaptic to install apps. Works a lot easier than RH's default package management. Their site is over here:
http://freshrpms.net/
edit2:
That bittorrent file has a lot of stuff in it I just remembered. It actually has a couple guis too. I've only used the command line part included. You should hopefully be able to make heads or tails out of it once you see it. If you want a working gui, I'd recommend seeing if the plf had a package, they'd throw on all the dependencies as well.
isamoor
August 10th, 2003, 09:10 PM
So I browsed through their packages to see what they had at this time. They don't have a bittorrent setup, so you'll just need to get that tar to work for you (I have had good luck in past. Maxed out dl in seconds)
The newest versions of gtk-gnutella and xmule are only in the cooker version of plf. The cooker is mandrake's developement work. It's constantly changing and generally unstable. Each release is then "cooked" out of the cooker. You should be okay adding the plf urpmi sources for the cooker version, I just wanted to warn you that a few things might be a little more unstable from in there.
Meaning, it would be okay to use a few cooker apps (gtk-gnutella .92 for example), but I wouldn't upgrade your whole system. :)
Later,
Isamoor
isamoor
August 10th, 2003, 09:14 PM
I forgot about textar untill I saw his packages in the plf urpmi section. He does have a bittorrent rpm and the gui rpm, so you would be good to go if you added him to urmpi and installed them.
He also has the nvidia drivers in rpm form. I've heard good things about his Nvidia rpm's, but I can't whole-heartidly recommend them. I always feel more comfortable with nvidia's install routine than trusting an rpm with my display drivers.
Here's a link to the directory with texstars rpms. I don't recommend directly downloading any of them. Instead, add them to urpmi with the above easy urpmi command and install htem through rpmdrake. That way any dependencies are automatically taken care of.
http://ftp.ibiblio.org/pub/Linux/distributions/contrib/texstar/
Later,
isamoor
.::BeatFactory::.
August 10th, 2003, 10:46 PM
MLDonkey www.mldonkey.net
I know for a fact that MLDonkey (on Linux) works well picking up BitTorrent files. It comes in package that you just (basically) un-zip. It will have something like ml*.net and mlgui.* (the first is to connect to the network(s) and the second is to use the GUI) Run both, look at your options and enable all networks (or those that you would like). You can download from KaZaA but can't share back to KaZaA :mellow. THe list of networks this thing can download from is eDonkey, Overnet, BitTorrent, Gnutella, Gnutella2, FastTrack, SoulSeek, Direct Connect, and OpenNap.
It isn't the prettiest app on Linux (compare it to Xmule and you'll know what I'm talking about) but it does a great job.
Oh yeah, if you want to download a BT file using MLDonkey, it takes a little bit of work. You have to right click on the file, copy the link, and paste it into MLDonkey. The place where you paste it is where you can see your downloads, towards the bottom of the page where it says "ed2k: [box]" That box can be used for BT links AND ed2k links as well. Once you enter the location of the torrent into that little box, it immediately begins to gather *every* source and download.
My 2 cents. Peace!
Power Penguin
August 11th, 2003, 09:13 AM
Here is the install instructions for Linux Bittorrent :
______________________________
install Python, version 2.0 or later - http://python.org/
install wxPython - http://wxpython.org/
(under debian, you can currently get the above using
apt-get install libwxgtk2.2-python
from testing and use python 2.1)
untar and put a line in /etc/mailcap which is similar to the
following, only replace the path to
/usr/bin/btdownloadgui.py with the one it's actually in.
application/x-bittorrent; /usr/bin/btdownloadgui.py %s; test=test -n "$DISPLAY"
You may have to restart your web browser for it to start
using BitTorrent.
If you're using a web browser which doesn't respect
/etc/mailcap you can go into the mimetype configuration for
your web browser and manually associate application/x-bittorrent
with btdownloadgui.py (with the appropriate path, of course.)
____________________________________
Here is the install instructions for Windows :
Double-click setup.
Windows is certainly easier to use.
Power Penguin
August 11th, 2003, 09:29 AM
Originally posted by isamoor
So I browsed through their packages to see what they had at this time. They don't have a bittorrent setup, so you'll just need to get that tar to work for you (I have had good luck in past. Maxed out dl in seconds)
The newest versions of gtk-gnutella and xmule are only in the cooker version of plf. The cooker is mandrake's developement work. It's constantly changing and generally unstable. Each release is then "cooked" out of the cooker. You should be okay adding the plf urpmi sources for the cooker version, I just wanted to warn you that a few things might be a little more unstable from in there.
Meaning, it would be okay to use a few cooker apps (gtk-gnutella .92 for example), but I wouldn't upgrade your whole system. :)
Later,
Isamoor
I'm using RedHat 9.0 distribution, not Mandrake.
Power Penguin
August 11th, 2003, 10:20 AM
Originally posted by .::BeatFactory::.
MLDonkey www.mldonkey.net
I know for a fact that MLDonkey (on Linux) works well picking up BitTorrent files. It comes in package that you just (basically) un-zip. It will have something like ml*.net and mlgui.* (the first is to connect to the network(s) and the second is to use the GUI) Run both, look at your options and enable all networks (or those that you would like). You can download from KaZaA but can't share back to KaZaA :mellow. THe list of networks this thing can download from is eDonkey, Overnet, BitTorrent, Gnutella, Gnutella2, FastTrack, SoulSeek, Direct Connect, and OpenNap.
It isn't the prettiest app on Linux (compare it to Xmule and you'll know what I'm talking about) but it does a great job.
Oh yeah, if you want to download a BT file using MLDonkey, it takes a little bit of work. You have to right click on the file, copy the link, and paste it into MLDonkey. The place where you paste it is where you can see your downloads, towards the bottom of the page where it says "ed2k: [box]" That box can be used for BT links AND ed2k links as well. Once you enter the location of the torrent into that little box, it immediately begins to gather *every* source and download.
My 2 cents. Peace!
I find Linux confusing enough without a P2P that does everything, so this guide was very useful. Seeing as how I can't install Bittorrent direct. Due to the rubbish documentation.
It looks like I can avoid the horrible CLI. Command Line Interface
zab
August 11th, 2003, 10:23 AM
Originally posted by Will Rae
[B
Windows is certainly easier to use. [/B]
However, under linux bittorrent comes with a gui, with a headless cli for daemon use and - best of all - ncurses gui. Which is excellent when I ssh to my home box from work :D
Power Penguin
August 11th, 2003, 11:17 AM
Originally posted by zab
However, under linux bittorrent comes with a gui, with a headless cli for daemon use and - best of all - ncurses gui. Which is excellent when I ssh to my home box from work :D
Maybe you can give me instructions for installing Bittorrent then.
I'm stuck on the XPython part.
zab
August 11th, 2003, 12:52 PM
Originally posted by Will Rae
I'm stuck on the XPython part.
If you can live without graphical gui but are ok with text gui (not command line interface, just gui that uses ascii art) you won't need the WXPython.
If you did more or less default install of redhat 9 (which I also use) you already have python and ncurses. So just download the bittorrent tarball from the official site, unpack it somewhere in your path and whenever you want to download a torrent type
btdownloadcurses.py <url of torrent here>
As you know, the command line auto-completes the commands so you won't have to type the entire thing, just do bt<press tab>cur<tab again> will automatically complete the long word for you. After that you don't even have to type in the url of the torrent, just select it in the browser and then press the middle button in the shell, it will paste it automatically.
The command line in linux (the shell) is much more powerful than any gui if you know how to use it. And it really isn't hard to learn the basic stuff - all you need is some patience.
zaphodiv
August 11th, 2003, 07:51 PM
>btdownloadcurses.py <url of torrent here>
Or use btdownloadheadless.py for a text only version. You either save the torrent file and point bt to it or use the --url option to give it the link to the torrent.
jago25_98
August 17th, 2003, 01:07 AM
if using bittorrent on linux i suggest using
btdownloadcurses.py --url http://foo.com/foo.zip
on console in case X goes wrong.
Suggest similar if possible with DC.
I was able to do "emerge bittorrent" it's a shame compiling from source isn't easier
zaphodiv
August 17th, 2003, 06:30 AM
and you may have to put the URL or the name of a torrent file in "quotes" if it has spaces in the filename. Change %20 to a space when pasting a link into an ssh session from windows.