Archive:Install Kodi on Apple TV 2: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 38: Line 38:
<li>In that url you just copied, make note of the file name after "../atv2/". For example it will look something like "<code>xbmc-20110822-e391fde-master-atv2.deb</code>".
<li>In that url you just copied, make note of the file name after "../atv2/". For example it will look something like "<code>xbmc-20110822-e391fde-master-atv2.deb</code>".
<li>Open up your terminal/ssh application and enter the following command to log in to your ATV2 (the password will be '''''alpine''''' by default):</li>
<li>Open up your terminal/ssh application and enter the following command to log in to your ATV2 (the password will be '''''alpine''''' by default):</li>
{{-}}
 



Revision as of 00:12, 12 September 2011

The following how-to requires you to have a jailbroken ATV2 running:

Newer versions may also work but aren't officially supported.

Installing the Cydia build

To install the Cydia build:

  1. Open up your terminal/ssh application and enter the following command to log in to your ATV2 (the password will be alpine by default):
  2. ssh root@<YOUR.ATV2.IP.ADDRESS>
  3. Issue these three commands in your Terminal window, in sequence:
  4. apt-get install wget wget -O- http://apt.awkwardtv.org/awkwardtv.pub | apt-key add - echo "deb http://apt.awkwardtv.org/ stable main" > /etc/apt/sources.list.d/awkwardtv.list echo "deb http://mirrors.xbmc.org/apt/atv2 ./" > /etc/apt/sources.list.d/xbmc.list apt-get update apt-get install org.xbmc.xbmc-atv2

After XBMC is successfully installed, the ATV2 will restart, and XBMC should then be available as an option in the ATV2's main menu:

ATV2.jpg

Installing the latest nightly build

Here's an example of a successful install (where the ATV2 had an IP of 192.168.1.100 and the .deb package file was from Sept 10)

Nightly builds incorporate the latest program code from developers and are created by an automated build bot; each night's build constitutes the "latest" version of XBMC that is publicly available.

A list of the changes in each nightly build can be found at https://github.com/xbmc/xbmc/commits


NOTE: You must install the Cydia version before you can install nightly builds. You only need to install the Cydia version once.
  1. Open http://mirrors.xbmc.org/nightlies/darwin/atv2/ in a web browser and copy the url of the most recent file in that listing.
  2. In that url you just copied, make note of the file name after "../atv2/". For example it will look something like "xbmc-20110822-e391fde-master-atv2.deb".
  3. Open up your terminal/ssh application and enter the following command to log in to your ATV2 (the password will be alpine by default):
  4. ssh [email protected]
  5. Issue these three commands in your Terminal window, in sequence:
  6. wget URL-FROM-STEP-ONE-HERE dpkg -i FILENAME-FROM-STEP-TWO-HERE rm FILENAME-FROM-STEP-TWO-HERE


If the dpkg -i command hangs, stop it with CTRL+C so it can proceed to use the updated removal script in the new package.