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

From Official Kodi Wiki
Jump to navigation Jump to search
(→‎Installing the latest nightly build: not needed with wildcards. also update example incase people are literally using the example.)
Line 37: Line 37:
'''NOTE: You MUST install the [[#Installing from Cydia|Cydia]] version before you can install a nightly build.''' You only need to install the Cydia version once and you don't need to uninstall previous versions to upgrade (or downgrade) XBMC.  
'''NOTE: You MUST install the [[#Installing from Cydia|Cydia]] version before you can install a nightly build.''' You only need to install the Cydia version once and you don't need to uninstall previous versions to upgrade (or downgrade) XBMC.  


#Open http://mirrors.xbmc.org/nightlies/darwin/atv2/ in a web browser and copy the url of the '''most recent file''' in that listing. For example it will look something like "<code>wget http://mirrors.xbmc.org/nightlies/darwin/atv2/xbmc-20111018-832ca62-master-atv2.deb</code>".
#Open http://mirrors.xbmc.org/nightlies/darwin/atv2/ in a web browser and copy the url of the '''most recent file''' in that listing. For example it will look something like: <br/> <code><nowiki>http://mirrors.xbmc.org/nightlies/darwin/atv2/xbmc-20111202-6729214-master-atv2.deb</nowiki></code>
#In that url you just copied, make note of the file name after "../atv2/". For example it will look something like "<code>xbmc-20111018-832ca62-master-atv2.deb</code>".
#Open up your [[XBMC for iOS specific FAQ#What is SSH?|terminal/ssh application]] and enter the following command to log in to your ATV2:
#Open up your [[XBMC for iOS specific FAQ#What is SSH?|terminal/ssh application]] and enter the following command to log in to your ATV2:
#:<pre>ssh [email protected]</pre>
#:<pre>ssh [email protected]</pre>

Revision as of 23:51, 3 December 2011

Template:XBMC wiki toc

See also: XBMC for iOS specific FAQ

Requirements:


Notice: XBMC on iOS is a work in progress. The available versions are the Cydia build and the latest nightly build. The Cydia build installs an older version of XBMC and anything else XBMC needs to run. The latest nightly contains the most recent XBMC code and is created daily by an automated build bot. First install the Cydia build then install the nightly build. Do not use the Cydia build without updating to the nightly builds as it is no longer supported.


Installing from Cydia

After XBMC is successfully installed, the ATV2 will restart, and XBMC should then be available as an option in the ATV2's main menu
This is the same build installed from the nitoTV menu, if installed.

To install the Cydia build:

  1. Open up your terminal/ssh application and enter the following command to log in to your ATV2:
    ssh [email protected]
  2. You will be asked for a password: default password is alpine
  3. Continue to enter the following commands:
  4. Issue these commands in your Terminal window, in sequence:
    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
    reboot
  5. Proceed to install the latest nightly build below:

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)
Change history: trac timeline or commit history

NOTE: You MUST install the Cydia version before you can install a nightly build. You only need to install the Cydia version once and you don't need to uninstall previous versions to upgrade (or downgrade) XBMC.

  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. For example it will look something like:
    http://mirrors.xbmc.org/nightlies/darwin/atv2/xbmc-20111202-6729214-master-atv2.deb
  2. Open up your terminal/ssh application and enter the following command to log in to your ATV2:
    ssh [email protected]
  3. You will be asked for a password: default password is alpine
  4. If you installed the Cydia version before November 26th, and have not manually installed UpdateBeGone, then you will need to issue this command (You only need to install UpdateBeGone once, so for future nightly updates you can skip this step). If you can't remember if it is installed, it is safe to enter the command again to make sure it is installed:
    apt-get install com.nito.updatebegone
  5. Continue to enter the following commands:
    rm -f xbmc*.deb
    wget URL-FROM-STEP-ONE-HERE
    dpkg -i xbmc*.deb
    rm xbmc*.deb
  6. You should now have the latest nightly build of XBMC for ATV2.


Note: If the dpkg -i command hangs, stop it with CTRL+C so it can use the updated removal script in the new package. If that doesn't work, you'll need to manually remove the XBMC directory before installing the nightly, e.g. "rm -r /Applications/XBMC.frappliance" (will likely take 2 tries). Editor note: <- Do we still need this note?