February 27, 2008

XBMC Installation steps taken

Here's the steps I took to install Ubuntu 7.10 (Gutsy Gibbon) and XBMC.
  1. Installed Ubunto 7.10
  2. Checked Graphics Settings (X11 'intel' Driver)
  3. Checked for Updates (Using Ubuntu GUI)
  4. Added a new XBMC user
  5. Logged in as XBMC User
  6. Installed SVN

  7. # sudo apt-get install subversion
    # cd $HOME
    # svn checkout https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC

  8. While that was running, I opened another Console and started installing some additional packages i needed.
    • openssh-server (For Remote Telnet/SSH Access to the Box)
    • samba (For Remote Windows File Sharing)

    # sudo apt-get install samba openssh-server

  9. Installed the XBMC Required Packages (Please check this document for the up-to-date required packages)

    # sudo apt-get install make g++-4.1 gcc-4.1 libsdl1.2-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libsdl-sound1.2-dev libsdl-stretch-dev libfribidi0 libfribidi-dev liblzo1 liblzo-dev libfreetype6 libfreetype6-dev libsqlite3-0 libsqlite3-dev libogg-dev libasound2-dev python2.4-dev python2.4 python-sqlite libglew1.4 libglew1.4-dev libcurl3-dev g++ gawk x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmms-dev pmount libmad0-dev libtre-dev libogg-dev libvorbis-dev libmysqlclient15-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper1 libfontconfig1-dev libbz2-dev

  10. Compiled the Source Code

  11. # cd $HOME
    # cd XBMC
    # ./build.sh

  12. While the source is compiling, there's a few little options that are worth changing.
    • Disable CD Autoplay/Mount - Untick both the 'Mount removable' and 'Browse Removable' when inserted options.
    • Install the Infra-red Remote Control Software for Linux

    • # sudo apt-get install lirc
      # sudo /etc/init.d/lirc restart

  13. Install additional remote control tools (Check IR Remote Tuning Article).
  14. After the compile finishes as expected, run your XboxMediacentre Executable!

  15. # cd BUILD
    # ./XboxMediaCenter

  16. You should be up and running!


  17. If that works, and it comes up, the binary obviously compiled properply and is working ok. To make the remote control scripts work properly you need to create a 'symlink' to the binary in the home/XBMC directory.

    # cd $HOME
    # ln -s $HOME/XBMC/BUILD/xbmc.bin $HOME/XBMC/XboxMediaCenter


    Now, press 'RecTV' on your remote! :D

No comments: