Difference between revisions of "How To Install rTorrent"
(New page: ==rTorrent== What you will need: # Copy of rTorrent compiled for Intel OS X. # Copies of <code>tar</code>, <code>bzip2</code> and <code>bunzip2</code> from [http://www.opensource.apple.com...) |
|||
Line 1: | Line 1: | ||
− | ==rTorrent | + | ==rTorrent - What you will need:== |
− | What you will need: | + | # [http://code.google.com/p/rtorrent-appletv/ Copy of rTorrent] compiled for Intel OS X. |
− | # | ||
− | |||
− | |||
# An AppleTV set up with SSH access. | # An AppleTV set up with SSH access. | ||
+ | # Patience, padawan. | ||
==Here is how to install!== | ==Here is how to install!== | ||
− | First, | + | As with anything in Unix, there's usually a few ways to do things. Clearly things will differ if you have your own username set up on the AppleTV, if you set up a different sshd, if you used a pre-authorized key, and so on. I will center this on how-to from a relatively stock OS X perspective. First, unarchive the file on your local machine, and use scp (or your favorite ftp or sftp client, such as [http://cyberduck.ch/ Cyberduck] on OS X, or [http://filezilla.sourceforge.net/ FileZilla] on Windows - see their instructions) to transfer them to your AppleTV. In the following examples, replace <code>192.168.0.5</code> with whatever your AppleTV's address is. On OS X, open up Terminal.app and do: |
− | <pre>scp | + | <pre>scp -1r rtorrent-0.7.4-osx frontrow@192.168.0.5:</pre> |
− | |||
− | |||
− | |||
− | |||
− | |||
Now, log in to your AppleTV with SSH: | Now, log in to your AppleTV with SSH: | ||
<pre>ssh frontrow@192.168.0.5</pre> | <pre>ssh frontrow@192.168.0.5</pre> | ||
Once you're in, do: | Once you're in, do: | ||
− | <pre> | + | <pre>cd rtorrent-0.7.4-osx |
− | + | sudo ./installme</pre> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | sudo | ||
− | |||
==Environment== | ==Environment== | ||
Now you may create a file called <code>.profile</code> in your home directory, either by using <code>nano</code> and pasting the following, or just do: | Now you may create a file called <code>.profile</code> in your home directory, either by using <code>nano</code> and pasting the following, or just do: | ||
<pre>echo export PATH="/bin:/sbin:/usr/local/bin:/usr/bin:/usr/sbin" > ~/.profile</pre> | <pre>echo export PATH="/bin:/sbin:/usr/local/bin:/usr/bin:/usr/sbin" > ~/.profile</pre> | ||
+ | ''CAUTION! This will erase the previous contents of your ~/.profile file, if one already existed!'' | ||
There is also a more global way of doing this, if you set up your path in the file <code>/etc/profile</code> | There is also a more global way of doing this, if you set up your path in the file <code>/etc/profile</code> | ||
Now just run <code>rtorrent</code>, or better yet, <code>screen rtorrent</code> and you have a text-mode BitTorrent client on your AppleTV! What's more convenient than that! The basics of using screen is to type Ctrl+A then Ctrl+D and you can exit out of things, but leave rTorrent running. Next time you need to access it, SSH back in to your AppleTV and type <code>screen -rd</code> and boom! | Now just run <code>rtorrent</code>, or better yet, <code>screen rtorrent</code> and you have a text-mode BitTorrent client on your AppleTV! What's more convenient than that! The basics of using screen is to type Ctrl+A then Ctrl+D and you can exit out of things, but leave rTorrent running. Next time you need to access it, SSH back in to your AppleTV and type <code>screen -rd</code> and boom! | ||
+ | |||
+ | ==Resources== | ||
+ | [http://libtorrent.rakshasa.no/ rTorrent site] - Read the man page and the common tasks!<br> | ||
+ | [http://code.google.com/p/rtorrent-appletv/ Where to get rTorrent for AppleTV] - I think this will work on MacBook (Pro) and Mac Minis as well. Someone please let me know if you have tried. |
Revision as of 13:01, 1 June 2007
rTorrent - What you will need:
- Copy of rTorrent compiled for Intel OS X.
- An AppleTV set up with SSH access.
- Patience, padawan.
Here is how to install!
As with anything in Unix, there's usually a few ways to do things. Clearly things will differ if you have your own username set up on the AppleTV, if you set up a different sshd, if you used a pre-authorized key, and so on. I will center this on how-to from a relatively stock OS X perspective. First, unarchive the file on your local machine, and use scp (or your favorite ftp or sftp client, such as Cyberduck on OS X, or FileZilla on Windows - see their instructions) to transfer them to your AppleTV. In the following examples, replace 192.168.0.5
with whatever your AppleTV's address is. On OS X, open up Terminal.app and do:
scp -1r rtorrent-0.7.4-osx frontrow@192.168.0.5:
Now, log in to your AppleTV with SSH:
ssh frontrow@192.168.0.5
Once you're in, do:
cd rtorrent-0.7.4-osx sudo ./installme
Environment
Now you may create a file called .profile
in your home directory, either by using nano
and pasting the following, or just do:
echo export PATH="/bin:/sbin:/usr/local/bin:/usr/bin:/usr/sbin" > ~/.profile
CAUTION! This will erase the previous contents of your ~/.profile file, if one already existed!
There is also a more global way of doing this, if you set up your path in the file /etc/profile
Now just run rtorrent
, or better yet, screen rtorrent
and you have a text-mode BitTorrent client on your AppleTV! What's more convenient than that! The basics of using screen is to type Ctrl+A then Ctrl+D and you can exit out of things, but leave rTorrent running. Next time you need to access it, SSH back in to your AppleTV and type screen -rd
and boom!
Resources
rTorrent site - Read the man page and the common tasks!
Where to get rTorrent for AppleTV - I think this will work on MacBook (Pro) and Mac Minis as well. Someone please let me know if you have tried.