Mar 27, 2012
Install XBMC 11.0 On RHEL/CentOS, Fedora, Ubuntu, Debian and Linux Mint
Mar 27, 2012 by Ravi Saive
XBMC Media Center is an award-winning free and open source (GPL) software media player, entertainment hub and HTPC (Home theater PC) for digital media. XBMC is available for Linux, OSX, iOS and Windows. XBMC is a non-profit project run and developed by volunteers located around the world. More than 50 software developers have contributed to XBMC, and 100-plus translators have worked to expand its reach, making it available in more than 30 languages.
On March 24, 2012 XBMC 11 "Eden" ( a codename for XBMC Media Center version 11 ) has been released and made the software available to download for Windows, Mac OS X, Linux and iOS with much better improved user interface performance, default skin improvements, extended network support, and revised metadata grabbers ( also known as "scrapers" ), upgraded weather service with geoip lookup, as well as basic AirPlay support in client mode and much more.
There is also an XBMCbuntu (formerly XBMC Live) ISO based software bundled with an embedded operating-system, all pre-packaged for that set-top-box feeling which is built upon a full LXDE desktop environment with applications such as Chromium, Synaptic or a file manager. XBMCbuntu also lets you easily boot to the XBMC Live CD in order to demo XBMC Media Center for you. To login to XBMCbuntu, use "xbmc" as the username, don't enter anything for the password and just click on "login".

This howto's guide shows you how to install XBMC Media Center 11.0 RHEL 6.2/6.1/6/5.8, CentOS 6.2/6.1/6/5.8, Fedora 8-16, Ubuntu 11.10/11.04/10.10/10.04, Debian and Linux Mint 12. We use YUM repositories and GIT to install XBMC Media Center 11.0 on RHEL/CentOS and Fedora and apt-get for Ubuntu, Debian and Linux Mint.
On March 24, 2012 XBMC 11 "Eden" ( a codename for XBMC Media Center version 11 ) has been released and made the software available to download for Windows, Mac OS X, Linux and iOS with much better improved user interface performance, default skin improvements, extended network support, and revised metadata grabbers ( also known as "scrapers" ), upgraded weather service with geoip lookup, as well as basic AirPlay support in client mode and much more.
There is also an XBMCbuntu (formerly XBMC Live) ISO based software bundled with an embedded operating-system, all pre-packaged for that set-top-box feeling which is built upon a full LXDE desktop environment with applications such as Chromium, Synaptic or a file manager. XBMCbuntu also lets you easily boot to the XBMC Live CD in order to demo XBMC Media Center for you. To login to XBMCbuntu, use "xbmc" as the username, don't enter anything for the password and just click on "login".

XBMC Media Center 11.0 Features
- Addon rollbacks so you can install previous addons versions.
- GPU video decoding on Linux to "some extent" for AMD graphic cards.
- Support for direct playback of ISO image files for Blu-ray Disc as well as video library integration.
- Addons can provide their own web interface.
- Improved mouse support, add better control for dragging of seek / slide / scroll bars, and click handling.
- Improved touch interface API and gesture support for XBMC's GUI Engine for all platforms.
- New custom JPEG decoder which is at least 2x faster than the previous implementation.
- Support for SSA/ASS subtitle tags; italics, bold, and color for SubRip (.srt) subtitles as well as MP4 embedded subtitles.
- Upgraded ffmpeg.
- Improved Blu-ray Disc and hard-drive playback support of unencrypted bdmv and mpls files without menus.
- Support for NFS virtual file server.
- Support for AFP (vfs).
- Airplay support for Videos, Pictures and Music.
- Asynchronous threaded background loading of metadata to XBMC's VFS (Virtual File System).
- Improved TheMovieDB.org movie scraper by adding themoviedb.org posters scraping.
- Linux: support for Texas Instruments OMAP4 (OMAP4430 and OMAP4440 with video decoding on IVA 3).
- Dynamic runtime detection of CPU features (MMX, SSE, 3DNow, etc.) implementation for Linux.
- Improved ARM processor architecture support for embedded devices and embedded system platforms.
XBMC Media Center 11.0 Screenshots
This howto's guide shows you how to install XBMC Media Center 11.0 RHEL 6.2/6.1/6/5.8, CentOS 6.2/6.1/6/5.8, Fedora 8-16, Ubuntu 11.10/11.04/10.10/10.04, Debian and Linux Mint 12. We use YUM repositories and GIT to install XBMC Media Center 11.0 on RHEL/CentOS and Fedora and apt-get for Ubuntu, Debian and Linux Mint.
Install XBMC Media Center 11.0 on RHEL 6.2/6.1/6/5.8, CentOS 6.2/6.1/6/5.8, Fedora 8-16, Ubuntu 11.10/11.04/10.10/10.04, Debian and Linux Mint 12
Installing XBMC Media Center 11.0 in RHEL/CentOS and Fedora
Step 1: Installaing GIT
We required Git module to install XBMC 11.0, if you don't know what is Git? let me explain in short. Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is developed and maintained by the creator of the Linux kernel. Let's install Git module using RPMForge repo.## Install RPMForge repo on RHEL/CentOS 5 (32 bit) ## rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.i386.rpm ## Install RPMForge repo on RHEL/CentOS 5 (64 bit) ## rpm -Uvh http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm ## Install RPMForge repo on RHEL/CentOS 6 (32 bit) ## rpm -Uvh http://apt.sw.be/redhat/el6/en/i386/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.i686.rpm ## Install RPMForge repo on RHEL/CentOS 6 (64 bit) ## rpm -Uvh http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm ## Install RPMFusion repo on Fedora 8-16 ## rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
yum install git
Step 2: Running GIT to Install XBMC 11.0
Now run git command to install all required XBMC files and objectives.git clone http://github.com/xbmc/xbmc.gitImportant : Please have a cuppa of tea or take a walk, it will take some time to download all files.
Step 3: Installing Dependency Packages
Once the git command completed then we need to install some additional depencies packages for XBMC. Run below command to install the packages.yum install SDL* glew glew-devel libmad-devel tre tre-devel libogg libogg-devel libvorbis libvorbis-devel boost \ boost-devel bzip2-devel bzip2-libs fribidi* lzo lzo-devel mysql-libs mysql-devel jasper jasper-devel faac faac-devel \ enca enca-devel hal hal-devel hal-libs cmake gperf nasm libXmu-devel fontconfig-devel freetype-devel libXinerama-devel \ pcre-devel gcc-c++ sqlite-devel curl-devel mysql-devel libcdio-devel libmms-devel faad2-devel flac-devel libsmbclient-devel \ libXtst-devel libsamplerate-devel libtiff-devel pulseaudio-libs-devel avahi-devel wavpack-devel libmpeg2-devel libtool \ libmicrohttpd-devel libmodplug-devel redhat-lsb expat-devel gettext-devel python-devel libass-devel bluez-libs-devel libvdpau-devel libva-devel libdca-devel \ libssh-devel yajl-devel
Step 4: Configuring
Just to appease the configure application, you may have to show it where libmysqlclient is.sudo ln -s /usr/lib/mysql/libmysqlclient.so.??.0.0 /usr/lib/libmysqlclient.so cd XBMC/ ./bootstrap ./configure
Step 5: Building Configuration
make make installImportant : For Fedora 10-12, SELinux will prevent loading of some .so files due to potential security problems. To allow the loading of these files (thats what you probably want), simply open a terminal and as sudo (or as root) execute the following commands:
chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/avutil-50-i486-linux.so' chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/avcodec-52-i486-linux.so' chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/avformat-52-i486-linux.so' chcon -t textrel_shlib_t '/usr/local/share/xbmc/system/players/dvdplayer/swscale-0.6.1-i486-linux.so'In Fedora 14 i found after compilation that xbmc was failing to run. The logs suggested that xbmc could not find libmicrohttpd.so.5 this was true as there had been a recent update to this library. XBMC should really link to libmicrohttpd.so rather than so.5 but until then a symlink does the trick. Replace lib64 with lib for 32 bit systems
ln -s /usr/lib64/libmicrohttpd.so /usr/lib64/libmicrohttpd.so.5
Step 5: Running XBMC 11.0
Go to Gnome (or KDE) and open up a terminal and run the below command to load XBMC.xbmcIf you don't have Gnome (or KDE) installed then follow below articles and run the command again.
Installing XBMC Media Center 11.0 in Ubuntu and Debain
To install XBMC 11.0 in Ubuntu and Debian, simply run following commands.sudo aptitude install git git clone http://github.com/xbmc/xbmc.git sudo aptitude update cd xbmc ./bootstrap ./configure make sudo make installWhen you completes all above commands you are done. Now run the following command to load the XBMC.
xbmcImportant : On certain versions of Ubuntu, you may get a segmentation fault due to libcurl. This is resolved by creating a symbolic link in /usr/lib.
cd /usr/lib sudo ln -s libcurl-gnutls.so.4 libcurl.so.4
Installing XBMC Media Center 11.0 in Ubuntu
We use PPA to install XBMC 11.0 in Ubuntu 11.10/11.04/10.10/10.04 and Linux Mint 12 use the commands below.sudo add-apt-repository ppa:team-xbmc/ppa sudo apt-get update sudo apt-get install xbmc xbmcThe official XBMC PPA doesn't provide any packages for Ubuntu 12.04 for now but if you still like to install, you can use an unofficial PPA to install the latest XBMC 11.
sudo apt-add-repository ppa:nathan-renniewaldock/xbmc-stable sudo apt-get update sudo apt-get install xbmc xbmc
Installing XBMC Media Center 11.0 in Linux Mint
sudo apt-get install python-software-properties pkg-config sudo add-apt-repository ppa:team-xbmc sudo apt-get update && sudo apt-get install xbmc xbmc-standalone xbmcFor other Linux distributions, Windows, Mac OSX, Apple TV, iOS or XBMCbuntu, visit the XBMC Media Center download page.
About : Ravi Saive

Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Because it is usually free and allow me do geeky stuff such as Programming and Scripting with CLI (Command Line Interface).
Subscribe to:
Post Comments (Atom)
14 Responses to “Install XBMC 11.0 On RHEL/CentOS, Fedora, Ubuntu, Debian and Linux Mint”
June 15, 2012 at 6:44 PM
I am trying to compile XBMC as instructed, but an error occurs at the ./configure stage. Somebody, please help.
[root@localhost xbmc]# ./configure
................
checking for sys/inotify.h... yes
checking boost/shared_ptr.hpp usability... yes
checking boost/shared_ptr.hpp presence... yes
checking for boost/shared_ptr.hpp... yes
checking for main in -lGL... yes
checking for main in -lGLEW... no
configure: error: Could not find a required library. Please see the README for your platform.
[root@localhost xbmc]#
June 19, 2012 at 2:14 PM
According to the message displayed by the configure script:
checking for main in -lGLEW... no
It looks like you are missing libglew-dev
If you get any more of this erros, just remove the letter L and grep for the pattern from the ../docs/README.. For example in my case:
[root@oc1628245456 docs]# ll
total 44
drwxr-xr-x. 2 root root 4096 Jun 19 15:19 manpages
-rw-r--r--. 1 root root 11676 Jun 19 15:19 README.armel
-rw-r--r--. 1 root root 3845 Jun 19 15:19 README.ios
-rw-r--r--. 1 root root 5891 Jun 19 15:19 README.linux
-rw-r--r--. 1 root root 6177 Jun 19 15:19 README.osx
-rw-r--r--. 1 root root 5017 Jun 19 15:19 README.ubuntu
[root@oc1628245456 docs]# grep glew README.linux
libfribidi-dev, libgl1-mesa-dev | libgl-dev, libglew-dev,
[root@oc1628245456 docs]#
June 19, 2012 at 2:16 PM
last message reads lglew not present, that means install the library glew
grep for glew from ../docs/README. to see the package name, for example in my case:
[root@oc1628245456 docs]# ll
total 44
drwxr-xr-x. 2 root root 4096 Jun 19 15:19 manpages
-rw-r--r--. 1 root root 11676 Jun 19 15:19 README.armel
-rw-r--r--. 1 root root 3845 Jun 19 15:19 README.ios
-rw-r--r--. 1 root root 5891 Jun 19 15:19 README.linux
-rw-r--r--. 1 root root 6177 Jun 19 15:19 README.osx
-rw-r--r--. 1 root root 5017 Jun 19 15:19 README.ubuntu
[root@oc1628245456 docs]# grep glew README.linux
libfribidi-dev, libgl1-mesa-dev | libgl-dev, libglew-dev,
[root@oc1628245456 docs]#
June 19, 2012 at 2:17 PM
last message reads lglew not present, that means install the library glew
grep for glew from ../docs/README. to see the package name, for example in my case:
[root@oc1628245456 docs]# ll
total 44
drwxr-xr-x. 2 root root 4096 Jun 19 15:19 manpages
-rw-r--r--. 1 root root 11676 Jun 19 15:19 README.armel
-rw-r--r--. 1 root root 3845 Jun 19 15:19 README.ios
-rw-r--r--. 1 root root 5891 Jun 19 15:19 README.linux
-rw-r--r--. 1 root root 6177 Jun 19 15:19 README.osx
-rw-r--r--. 1 root root 5017 Jun 19 15:19 README.ubuntu
[root@oc1628245456 docs]# grep glew README.linux
libfribidi-dev, libgl1-mesa-dev | libgl-dev, libglew-dev,
[root@oc1628245456 docs]#
July 3, 2012 at 7:42 PM
Step 2: "git clone http://github.com/xbmc/xbmc.git" command not running on CentOS 6.2. -bash: git: command not found. Could it be because there is no xbmc.git script on specified site? Any help appreciated
July 4, 2012 at 12:38 AM
First you need to install git package using YUM command.
July 6, 2012 at 11:32 PM
Thank you very much. It worked. This is my fault. I was not attentive enough.
Now it is another problem: Step 4 Configuring gives me next ->
[Andrey@elf xbmc]$ ./bootstrap
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force
autom4te: cannot create autom4te.cache: Permission denied
aclocal: autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
And after that next command ./configure fails. Please help a newbie. What am I doing wrong?
Thanks for great articles at your site
Andrey
July 6, 2012 at 11:36 PM
Sorry! Resolved. Have to run ./bootstrap and ./configure with sudo or under root login.
Thanks
Andrey
July 6, 2012 at 11:42 PM
Now ./configure ends with next message
checking for hci_devid in -lbluetooth... yes
checking for main in -lyajl... yes
checking for main in -ltinyxml... no
configure: error: Could not find a required library. Please see the README for your platform.
Any ideas?
Thanks
Andrey
July 7, 2012 at 4:09 AM
you need to install tinyxml library. Run the following command to install it.
yum install tinyxml
July 7, 2012 at 7:47 AM
First of all thanks for your answers and directions. I really appreciate your help.
OK now this is what yum install tinyxml ends with:
Setting up Install Process
No package tinyxml available.
Error: Nothing to do
I believe there is no repo with this package available in CentOS as I am installing under CentOS 6.2. I found couple of repos consist this package - particularly Fedora 15 and 16 for example. May I use one of this repos for install or any other please advise.
Thanks
Andrey
July 7, 2012 at 8:15 AM
Oops! Resolved. I followed your instructions from "How To Enable EPEL Repository In RedHat/Cent OS". tinyxml installed from EPEL successfully. I started ./configure and it gives exactly same message:
checking for hci_devid in -lbluetooth... yes
checking for main in -lyajl... yes
checking for main in -ltinyxml... no
configure: error: Could not find a required library. Please see the README for your platform.
Thanks
Andrey
July 7, 2012 at 11:08 PM
Dear Friend, its related to nvidia driver problem please read below article.
www.nvnews.net/vbulletin/showthread.php?t=138016
July 8, 2012 at 2:10 PM
I have no nvidia hardware on my desktop, thus I consider no nvidia drivers installed. lspci output is:
[root@elf proc]# lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:06.0 System peripheral: Intel Corporation 82865G/PE/P Processor to I/O Memory Interface (rev 02)
00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
As you can see I have Intel video card.
Any suggestions ?
Thanks Andrey
Post a Comment