IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Running Bt On Linux
lu-chan
post Jun 10 2003, 02:56 AM
Post #1


Hohei
*

Group: Users
Posts: 94
Joined: 31-May 03
Member No.: 73



hey,
so, when i downloaded BT for windows, it totally f**ed my computer. we're talking blue screen of death, almost impossible to resurrect. i run linux too, which i can still use, and i eventually got my windows back to limping along (i'm going to have to reinstall windows to ever get it back to normal, however). of course, having not learned my lesson, i would like to install BT for linux (it's not really that i haven't learned my lesson, it's mostly that i chalk it up to some crappy-yet-typical windows glitchiness). however, the BT guide for this is a lilttle over this linux newbie's head. has anyone done this and want to tell me what the hell i do to get BT and divx running?

thanx..!
Go to the top of the page
 
+Quote Post
Joe999
post Jun 11 2003, 01:45 AM
Post #2





Guests






QUOTE(lu-chan @ Jun 10 2003, 12:31 AM)
i would like to install BT for linux (it's not really that i haven't learned my lesson, it's mostly that i chalk it up to some crappy-yet-typical windows glitchiness). however, the BT guide for this is a lilttle over this linux newbie's head. has anyone done this and want to tell me what the hell i do to get BT and divx running?

It depends a lot on what distro you're running. Worst case scenario it'll be a little more work than in windows, best case it'll be a little easier. For the sake of getting it into the archive, I'll run through a couple of them.

Installing and using Bittorrent in Linux
Debian unstable.
I 'think' bittorrent is part of the official sid apt-get repositories. This one's going to be pretty easy to set up.
option A. Through GUI in KDE - Simply start synaptic and type bittorrent in its search field. Select it, hit the install button, then hit proceed. All dependencies should be installed along with bittorrent, and everything configured for you. To be on the safe side, if for some reason an application dosn't have bittorrent associated with torrent files, you'll want to open them with "btdownloadgui".

option B. Through the command line - As root type apt-get install bittorrent. That's all.

---------------------------------
Mandrake 9.1
We'll assume you do not currently have texstar as a rpm source. To add his packages, bring up the console and log in as root. Then type
urpmi.addmedia -h Texstar ftp://ftp.ibiblio.org/pub/linux/distribut...drake/9.1/rpms/ with hdlist.cz

While we're at it, after that type
urpmi.addmedia -h PLF ftp://ftp.club-internet.fr/pub/linux/plf/9.1/i586/ with hdlist.cz
This one is for later, to get the video playback set up. I'm assuming a pentium processor as well.

Now bring up rpmdrake. I can't recall where it is on mandrakes menus, but you can just type rpmdrake on the command line while root to bring it up, or in kde hit alt-f2 then type rpmdrake. When it comes up, do a search for bittorrent, click it, and hit install.
-------------------------------------

Generic Linux install - Should work on any distro
You're going to need a few things. Python, which likley will already be installed on your system. WxWindows, and WxPython. WxWindows is a great programming library which allows the building of gui applications that have a native look and feel on any platform the applications are used on. WxPython consists of python bindings around WxWindows, and allows someone to write applications which will look and feel native on any supported operating system, and yet not even need to be compiled. Both are a lot of fun to use, and I really encourage anyone with an interest in coding to check them out.
You can find information on getting these set up at the WxPython page. After that's installed, all you need to do is download and untar or unzip the python sources from the bittorrent page. Now, to start it up you can

Option A. On the command line, go to your bittorrent directory and type "python btdownloadgui.py" and then the url of a torrent file, or it's location on your hard drive. From that point, you'll get the same gui that you're used to from bittorrent in windows.

Option B. You can configure your browser to open torrent files with btdownloadgui. There's enough browsers out there though, that I'll just skip past that. In any case, most should give you an "open with" option, and then you can either type "python" then the location of your btdownloadgui.py file.

--------------------------------

DivX viewing under Linux

I think most of the recent distro releases have xine, mplayer, or both included with them. Both of these players rely on ffmpeg for their mpeg4 decoding, so there shouldn't be too much of a difference betwean them for this, except for their gui. I don't like either of those guis though, so for debian I'm going to throw in an additional step to get what I feel is a better one for mplayer. And simply because I'm more familier with mplayer, we'll be taking that option instead of xine.

Debian unstable.
Add
deb http://marillat.free.fr/ unstable main
to your sources file in /etc.
Then
apt-get install mplayer
on the command line, or in synaptic search for mplayer, hit install, then proceed with the instalation. Do the same for kplayer. Actually, now that I think of it, just typing kplayer instead of doing both it and mplayer should also work. There, now you should have kplayer associated with most video files. It should play xvid, divx, quicktime, mpeg 1 & 2, real player files, as well as pretty much anything else you throw at it.

Just because I never see this mentioned anywhere else, there's a neat script out there for debian unstable called MPlayer-update. For when Debian unstable just isn't unstable enough for you. All joking aside, it's actually quite useful. I've been encoding my captures in matroska, and right now matroska (and ogg theora) playback is only available in cvs. So a quick run of this script, and I've got the latest and greatest code from mplayer to run my mkv files, current from that very day.

---------------------------------
Mandrake 9.1
Assuming you added plf to your urmpi sources, simply type mplayer into rpmdrake, and install it.

Generic Linux install - Should work on any distro
Mplayer's a little annoying to get used to at first. Basically though, head off to their site, download and set up the gui, fonts, and if you feel the need to - the windows codecs. Setting those up is really the hard part of compiling mplayer. Once you've got those set up, assuming you have all the correct development libs, just do a configure make make install.


If any of this does not work, feel free to complain. I'm typing a lot of this off the top of my head, and it's nearly 2am right now. I wouldn't be too surprised to find I overlooked something.

--------------------------
And while I'm at it. If anyone is curious after reading this and wanted to give Linux a shot, you might look into Knoppix. It's a Linux distro based on a mix of Debian flavors, which runs totally from cd, not touching anything on your hard drive or needing to be installed. It can be installed to the hard drive though and upgraded to a full debian install if one likes it. Though mandrake or red hat might give a more user friendly experience than debian, which tends to shove a lot of options in the users face and scream 'deal with it!'.
--------------------------

Wow, that's one long first post!
Go to the top of the page
 
+Quote Post
lu-chan
post Jun 14 2003, 03:39 PM
Post #3


Hohei
*

Group: Users
Posts: 94
Joined: 31-May 03
Member No.: 73



hey joe,
just wanted to thank you for the info, i finally have BT running (though not divx yet), bite me, kazaa lite!
Go to the top of the page
 
+Quote Post
Xepheus
post Jun 14 2003, 07:50 PM
Post #4


Seii Tai Shogun
****

Group: Staff
Posts: 541
Joined: 30-May 03
From: Earth
Member No.: 5



wow... good job Joe! huge props to you (IMG:style_emoticons/default/happy.gif)
/me will pin this topic since u spent so much time on it and it helps others (IMG:style_emoticons/default/biggrin.gif)

-Xepheus
Go to the top of the page
 
+Quote Post
ls-al
post Jun 15 2003, 02:19 PM
Post #5





Guests






WOW!! All of that for what I thought was download the source tar ball (.tar.gz) Do tar xzvf filename.tar.gz. cd filename then:
./btdownloadhealess --url http://foo.bar/file.torrent (might be -url and not --url)

^^;;

ciao ciao

Oh yeah, make sure you got python2 installed.
Go to the top of the page
 
+Quote Post
angrysquirrel
post Jun 27 2003, 12:49 AM
Post #6





Guests






@ls-al

you also should have to su to root then run configure (# /.configure) then make it (# make) then install it (# make install) then logout of root (# exit) and THEN youre ready to run the prog by typing $ btdownloadhealess --url http://whatever


Note: All I use is bash so I'm not sure what will be at the front of every line (its # as root and $ as a regular user as I have it set)
Go to the top of the page
 
+Quote Post
Stu
post Jul 9 2003, 02:58 AM
Post #7


Doreimin


Group: Users
Posts: 26
Joined: 9-July 03
Member No.: 545



ls-al, another neat thing to do, is use the btlaunchmanycurses using screen (screen is a CLI user's best friend!). Just execute:

screen btlaunchmanycurses /path/to/download/dir \
--max_upload_rate <speed cap here> \
2> /dev/null

Then [Ctrl+a] [Ctrl+d] to detach the screen. Now, just save the .torrents to /path/to/download/dir, btlaunchmanycurses will see them as they arrive and start downloading them. You can check on their download status from any console that you are logged in on as the user who ran the screen command by using (reattaching to screen):

screen -r

You detach screen as you did before ([Ctrl+a] [Ctrl+d]), you can get help in screen using [Ctrl+a ?]. They when one or more are completely downloaded, or you want to stop being a seed, just delete the .torrent file in /path/to/download/dir and btlaunchmanycurses will see that and stop the download/upload of that file.

Also, you should use the upload cap, otherwise your download speed will get clobbered if you are downloading multiple files.
Go to the top of the page
 
+Quote Post
Grand Stone
post Aug 20 2004, 06:00 PM
Post #8


Baka


Group: Users
Posts: 7
Joined: 17-August 04
Member No.: 3,816



I think you can run Azureus on Linux?

http://azureus.sourceforge.net/howto_linux.php
Go to the top of the page
 
+Quote Post
beboparia
post Sep 3 2004, 10:51 AM
Post #9


Chusho
**

Group: Users
Posts: 198
Joined: 5-July 04
From: eating your dumplings
Member No.: 3,338



Oi. After finding this thread, my web server will never be the same. (IMG:style_emoticons/default/blink.gif)

Thanks, all, for your input.
Go to the top of the page
 
+Quote Post
D.nuple
post Nov 14 2009, 02:47 AM
Post #10


Baka


Group: Users
Posts: 4
Joined: 4-September 09
From: United States
Member No.: 16,776



I know winston and I have oolite-linux running, but does anyone else?

I made an assumption that if you have it running, you love it
Go to the top of the page
 
+Quote Post
D.nuple
post Dec 3 2009, 12:50 AM
Post #11


Baka


Group: Users
Posts: 4
Joined: 4-September 09
From: United States
Member No.: 16,776



Planning to buy a new computer.

Which is at lower risk of succumbing to attack by viruses, trojans, and various other forms of malware? A Mac, or a PC running Linux?
Go to the top of the page
 
+Quote Post
[P]ako
post Dec 18 2009, 10:42 AM
Post #12


Shogun
***

Group: Administration
Posts: 321
Joined: 12-September 04
From: No where the server is located
Member No.: 3,937



Linux.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 9th September 2010 - 06:57 AM


Page top