Archive:Compile Kodi on Fedora/Red Hat/CentOS: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Neeltje57
m (Added goto button)
>Gamester17
No edit summary
Line 1: Line 1:
<div class="messagebox merge">[[Image:Merge-arrow.gif|left]] It has been suggested that this article or section be merged into ''[[:{{NAMESPACE}}HOW-TO compile XBMC for Linux from source code]]''. ([[{{{2|:{{NAMESPACE}} talk:HOW-TO compile XBMC for Linux on Fedora RedHat Enterprise Linux CentOS}}}|Discuss]])</div>
{{GoToParent|Parent=Installing XBMC for Linux}}
{{GoToParent|Parent=Installing XBMC for Linux}}
__NOEDITSECTION__
__NOEDITSECTION__
__TOC__
__TOC__
<div class="messagebox merge">[[Image:Merge-arrow.gif|left]] It has been suggested that this article or section be merged into ''[[:{{NAMESPACE}}HOW-TO compile XBMC for Linux from source code]]''. ([[{{{2|:{{NAMESPACE}} talk:HOW-TO compile XBMC for Linux on Fedora RedHat Enterprise Linux CentOS}}}|Discuss]])</div>


This is a tutorial on how to install XBMC on Fedora 8/9 & CentOS 5.2<br>
This is a tutorial on how to install XBMC on Fedora 8/9 & CentOS 5.2<br>

Revision as of 15:04, 12 June 2009

Merge-arrow.gif
It has been suggested that this article or section be merged into ArchiveHOW-TO compile XBMC for Linux from source code. (Discuss)

Template:GoToParent

This is a tutorial on how to install XBMC on Fedora 8/9 & CentOS 5.2

Checkout from subversion

svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/

Install Packages

Fedora 8, 9 or 10

rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm  \
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm CentOS 5 (32) rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm CentOS 5 (64) rpm -Uvh http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Cut & Paste Fun

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

*sudo ln -s /usr/lib/mysql/libmysqlclient.so.15.0.0 /usr/lib/libmysqlclient.so (i386)
*sudo ln -s /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient.so (x86_64)

Configure

cd XBMC/
./configure

With the above installed packages this should go smoothly :)

Build

make
  • jpegint.h error fix
cp XBMC/xbmc/lib/cximage-6.0/jpeg/jpegint.h /usr/include/

Then remake

Install

make install

When this completes you are done!
Simply log into Gnome (or KDE) and open up a terminal and type 'xbmc' and it will load.