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

From Official Kodi Wiki
Jump to navigation Jump to search
Line 28: Line 28:
== Installing the latest nightly build ==
== Installing the latest nightly build ==
[[File:XBMC nightly.png|400px|thumb|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)]]
[[File:XBMC nightly.png|400px|thumb|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)]]
:''A list of the changes in each nightly build can be found at https://github.com/xbmc/xbmc/commits''
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.  
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.
<ol>
<li>Open http://mirrors.xbmc.org/nightlies/darwin/atv2/ in a web browser and copy the url of the most recent file in that listing.
<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>Issue these three commands in your Terminal window, in sequence:</li>
:'''NOTE: You must install the [[#Installing the Cydia build|Cydia]] version before you can install nightly builds.''' You only need to install the Cydia version once.
  wget URL-FROM-STEP-ONE-HERE
  dpkg -i FILENAME-FROM-STEP-TWO-HERE
  rm FILENAME-FROM-STEP-TWO-HERE
</ol>


#Open http://mirrors.xbmc.org/nightlies/darwin/atv2/ in a web browser and copy the url of the most recent file in that listing.
#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>".
#Open up your terminal/ssh application and enter the following command to log in to your ATV2:
#:<pre>ssh [email protected]</pre>
#You will be asked for a password: ''default password is '''alpine'''''
#Continue to enter the following commands:
#:<pre>wget URL-FROM-STEP-ONE-HERE</pre>
#:<pre>dpkg -i FILENAME-FROM-STEP-TWO-HERE</pre>
#:<pre>rm FILENAME-FROM-STEP-TWO-HERE</pre>


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.
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.

Revision as of 00:25, 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)
A list of the changes in each nightly build can be found at https://github.com/xbmc/xbmc/commits

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.

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:
    ssh [email protected]
  4. You will be asked for a password: default password is alpine
  5. Continue to enter the following commands:
    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.