[Apple TV] Easier way to install Python on ATV

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
kkj1961 Offline
Junior Member
Posts: 24
Joined: Nov 2008
Reputation: 0
Post: #1
Hi. I got XBMC up and running on my ATV and love it. Some of the skins look amazing. So now I would like to start playing around with some of the scripts and plugins out there. If I understand it right, I need to install python on my appletv in order for plugins/scripts to work. I've read the instructions on Awkwardtv, but they are pretty extensive and fairly complicated (I'm not a linux/unix guy). Is there any other way to get Python setup? I typically transfer files to and from my Appletv using SFTP (using Panic's Transmit software for the mac).

Any hints or tips would be appreciated.

Thanks...

Kevin
find quote
dafranca Offline
Member
Posts: 73
Joined: Sep 2008
Reputation: 0
Post: #2
Open txt editor of choice, copy and paste the following link:
http://pastebin.com/m74e02a69
Save file.txt as txt (no rtf)
move file to appletv home folder on ATV.
ssh to the ATV.
execute:
sudo sh file.txt
(This post was last modified: 2008-11-15 14:58 by dafranca.)
find quote
dafranca Offline
Member
Posts: 73
Joined: Sep 2008
Reputation: 0
Post: #3
Remember your ATV needs internet conection... check if you are connect

If you get any erro menssage you probably don't have wget and gunzip installed.

Install wget and gunzip on atv

http://wiki.awkwardtv.org/wiki/Apple_TV_Binaries
right click(# click) on wget & gunzip "save as".
Transfer wget & gunzip to atv
open ssh conection with atv
execute => sudo mv {wget,gunzip} /usr/bin/
execute => sudo chmod 755 /usr/bin/{wget,gunzip}
execute => sudo chown root:wheel /usr/bin/{wget,gunzip}
execute the script again => sudo sh file.txt
(This post was last modified: 2008-11-15 14:53 by dafranca.)
find quote
kkj1961 Offline
Junior Member
Posts: 24
Joined: Nov 2008
Reputation: 0
Post: #4
Thanks!!
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #5
didnt work for me
find quote
m_lopez_h Offline
Member
Posts: 63
Joined: Jul 2004
Reputation: 0
Post: #6
Didnt work for me either. I was able to transfer the file.txt and execute the sudo command. It failed when it got to the "wget" and "pax" commands. I assume that wget and pax needs to be installed prior to running the script?
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #7
I think the person who offered the advice was offering a shortcut to typing, not to the actual process.

Apparently, you need to install an unarchiver, which i went to the website to do, from awkward wiki, but AGAIN complex coding and instructions.

I dont know what the developer disc 4 thing is all about....

*shrug*
find quote
dafranca Offline
Member
Posts: 73
Joined: Sep 2008
Reputation: 0
Post: #8
pax is installed on all ATV.

If you got error is because you don't have wget binary installed:
wget is used to download files from www
(This post was last modified: 2008-11-15 14:50 by dafranca.)
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #9
I used method 2....

file.txt: line 22: syntax error: unexpected end of file


Any ideas?
(This post was last modified: 2008-11-14 23:39 by fluked@live.com.)
find quote
fluked@live.com Offline
Junior Member
Posts: 28
Joined: Nov 2008
Reputation: 0
Post: #10
ok, was error in copying.....


Now it just returns to 'bash
(This post was last modified: 2008-11-14 23:44 by fluked@live.com.)
find quote
Post Reply