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

From Official Kodi Wiki
Jump to navigation Jump to search
>NedTest
>Jd2157
(added jailbreak faq link and reduced the list sizes since they were making the page unnecessarily long)
Line 1: Line 1:
The following HOW-TO requires you to have a jailbroken ATV2 running [http://www.iclarified.com/entry/index.php?enid=13581 iOS 4.2.1(Apple TV Software 4.1.1)] or [http://www.iclarified.com/entry/index.php?enid=12380 iOS 4.1(Apple TV Software 4.0)]. Newer [http://en.wikipedia.org/wiki/IOS_version_history#Version_history:_Apple_TV_.28second_generation.29 versions] may also work but aren't officially supported.
The following HOW-TO requires you to have a [http://forum.xbmc.org/showthread.php?t=99315 jailbroken] ATV2 running [http://www.iclarified.com/entry/index.php?enid=13581 iOS 4.2.1(Apple TV Software 4.1.1)] or [http://www.iclarified.com/entry/index.php?enid=12380 iOS 4.1(Apple TV Software 4.0)]. Newer [http://en.wikipedia.org/wiki/IOS_version_history#Version_history:_Apple_TV_.28second_generation.29 versions] may also work but aren't officially supported.
__toc__
__toc__
==Installing the "official" (Cydia) build==
==Installing the "official" (Cydia) build==
Line 8: Line 8:


<li>Issue these three commands in your Terminal window, in sequence:</li>
<li>Issue these three commands in your Terminal window, in sequence:</li>
   apt-get install wget
   apt-get install wget
   wget -O- <nowiki>http://apt.awkwardtv.org/awkwardtv.pub</nowiki> | apt-key add -
   wget -O- <nowiki>http://apt.awkwardtv.org/awkwardtv.pub</nowiki> | apt-key add -
   echo "deb <nowiki>http://apt.awkwardtv.org/ stable main" ></nowiki> /etc/apt/sources.list.d/awkwardtv.list
   echo "deb <nowiki>http://apt.awkwardtv.org/ stable main" ></nowiki> /etc/apt/sources.list.d/awkwardtv.list
   echo "deb <nowiki>http://mirrors.xbmc.org/apt/atv2 ./" ></nowiki> /etc/apt/sources.list.d/xbmc.list
   echo "deb <nowiki>http://mirrors.xbmc.org/apt/atv2 ./" ></nowiki> /etc/apt/sources.list.d/xbmc.list
   apt-get update
   apt-get update
   apt-get install org.xbmc.xbmc-atv2
   apt-get install org.xbmc.xbmc-atv2
</ol>
</ol>
After XBMC is successfully installed, the ATV2 will restart, and XBMC should then be available as an option in the ATV2's main menu:
After XBMC is successfully installed, the ATV2 will restart, and XBMC should then be available as an option in the ATV2's main menu:
Line 27: Line 20:


==Installing the latest nightly build==
==Installing the latest nightly build==
For various reasons, mostly technical, the Cydia version of XBMC is not the most recent version of XBMC.  Nightly builds incorporating the latest program code from developers are created by an automated build bot; each night's build constitutes the "latest" version of XBMC that is publicly available.  Although the nightly builds are based on the Cydia version, they should be considered unstable pre-releases due to the fact they have not undergone user testing.
The Cydia version of XBMC is not the most recent version.  Nightly builds incorporating the latest program code from developers are created by an automated build bot; each night's build constitutes the "latest" version of XBMC that is publicly available.  Although the nightly builds are based on the Cydia version, they should be considered unstable pre-releases because they have not undergone user testing.
:''A list of the changes in each nightly build can be found at https://github.com/xbmc/xbmc/commits''
:''A list of the changes in each nightly build can be found at https://github.com/xbmc/xbmc/commits''


Line 41: Line 34:
<li>Issue these three commands in your Terminal window, in sequence:</li>
<li>Issue these three commands in your Terminal window, in sequence:</li>
   wget ''[paste URL from step 1 here]''
   wget ''[paste URL from step 1 here]''
   dpkg -i ''[paste filename from step 2 here]''
   dpkg -i ''[paste filename from step 2 here]''
   rm ''[paste filename from step 2 here]''
   rm ''[paste filename from step 2 here]''
</ol>
</ol>
*Note: if the '''dpkg -i''' command above hangs, stop it with CTRL+C (may take several attempts); then run "rm -r /Applications/XBMC.frappliance", and then retry the '''dpkg -i''' command.
*Note: if the '''dpkg -i''' command above hangs, stop it with CTRL+C (may take several attempts); then run "rm -r /Applications/XBMC.frappliance", and then retry the '''dpkg -i''' command.

Revision as of 01:45, 9 September 2011

The following HOW-TO requires you to have a jailbroken ATV2 running iOS 4.2.1(Apple TV Software 4.1.1) or iOS 4.1(Apple TV Software 4.0). Newer versions may also work but aren't officially supported.

Installing the "official" (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

The Cydia version of XBMC is not the most recent version. Nightly builds incorporating the latest program code from developers are created by an automated build bot; each night's build constitutes the "latest" version of XBMC that is publicly available. Although the nightly builds are based on the Cydia version, they should be considered unstable pre-releases because they have not undergone user testing.

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

NOTE: You must install the "official" Cydia version before you can install nightly builds. You only need to install the Cydia version once; doing so places necessary files on your ATV2. Once you have installed the official Cydia version, you can install nightly builds at any time by doing the following:

  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 [paste URL from step 1 here] dpkg -i [paste filename from step 2 here] rm [paste filename from step 2 here]
  • Note: if the dpkg -i command above hangs, stop it with CTRL+C (may take several attempts); then run "rm -r /Applications/XBMC.frappliance", and then retry the dpkg -i command.