[Apple TV] Easier way to install Python on ATV

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #16
ATV rebooted....

Again, it just returns to bash.... ie its not doing anything
find quote
dafranca Offline
Member
Posts: 73
Joined: Sep 2008
Reputation: 0
Post: #17
I recommend you install wget and gunzip on your atv
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #18
Laugh You reckon? lol

Can you tell me how to install gunzip? I had no luck.
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,479
Joined: Feb 2008
Reputation: 64
Post: #19
get the following file;

Quote:http://code.google.com/p/atvusb-creator/...ils.tar.gz

This contains a bunch of bin utils that will work on the AppleTV. unpack and copy the files (not the folder) into "/usr/bin" on the AppleTV. wget and gunzip are included.

"top" will need a post copy change. "sudo chmod +s /usr/bin/top".


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Thumbs Up   
Post: #20
Thanks for the replys guys.

Please bear in mind that I am a noob, and not a coder.

= "/usr/bin" on the AppleTV.

Where is this, whats the full pathConfused I can only get into frontrow on cyberduck.

Also in using an APPLE TV.


"top" will need a post copy change. "sudo chmod +s /usr/bin/top"

Huhhhhhhhh?


I thought the bin tools came with the standard usb patch? Ok, i will give it a go.... please let me know where the files go.
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,479
Joined: Feb 2008
Reputation: 64
Post: #21
fluked@live.com Wrote:Thanks for the replys guys.

= "/usr/bin" on the AppleTV.

Where is this, whats the full pathConfused I can only get into frontrow on cyberduck.

Also in using an APPLE TV.


"top" will need a post copy change. "sudo chmod +s /usr/bin/top"

I thought the bin tools came with the standard usb patch? Ok, i will give it a go.... please let me know where the files go.


These binutils have nothing to do with USB.

"/usr/bin" is the full path, note the "/" in front.

/usr/bin is protected so you have to do this in a two step.

1) copy them to /Users/frontrow
2) ssh in and manually move them from /Users/frontrow to /usr/bin

google "appletv scp" and "appletv ssh" for more info.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #22
I see.

But with cyberduck, i can only access frontrow....

No root access.

I have used ssh. And transfer via ftp, cyberduck
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Thumbs Down   
Post: #23
Actually forget it, this is just riddiculous.
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,479
Joined: Feb 2008
Reputation: 64
Post: #24
fluked@live.com Wrote:Actually forget it, this is just riddiculous.

You're making this much harder by messing around with cyberduck. Use scp and ssh from the command-line.

Use the terminal Application in /Applications/Utilities on your OSX computer to get to the command-line.

Quote:curl http://code.google.com/p/atvusb-creator/...ils.tar.gz > binutils.tar.gz

tar -xzf binutils.tar.gz

scp -r binutils frontrow@appletv.local:/Users/frontrow

ssh frontrow@appletv.local

now you are on the AppleTV and inside the directory "/User/frontrow"

Quote:sudo cp /User/frontrow/binutils/* /usr/bin/

enter "frontrow" when prompted for the password

Quote:sudo chmod +s /usr/bin/top


if "appletv.local" does not work, use the IP address of your AppleTV.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #25
thank you.

but this is wasting my life and time.

i appreciate your 'help, but im wasting time, keep going back anf forwards, and people with different ideas and storys.

This is supposed to be THE EASY WAY, lol.
(This post was last modified: 2008-11-15 04:09 by fluked@live.com.)
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #26
:-P
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,479
Joined: Feb 2008
Reputation: 64
Post: #27
fluked@live.com Wrote:thank you.

but this is wasting my life and time.

Smile


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
m_lopez_h Offline
Member
Posts: 63
Joined: Jul 2004
Reputation: 0
Post: #28
Ok, I've installed the binutils (I had to change the permissions on wget for the script to run) and am now stuck on the final part of the script. For some reason the pax command won't execute. Any thoughts?

pax: could not exec: Permission denied
pax: End of archive volume 1 reached
pax: Sorry, unable to determine archive format.
ln: /usr/bin/python: File exists
ln: /Library/Frameworks/Python.framework/: File exists
-bash-2.05b$
-bash-2.05b$
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #29
I guess its something to do with gunzipConfused?
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #30
Hey, there is quite alot of info in thise post.....

Would anybody like to start a new topic, which outlines a step-by-step guideConfused

As at the moment, some steps are before another and make asumptions.... which kinda makes it longer than it needs to be!!
find quote