Remove LiveTV menu.
[vuplus_xbmc] / docs / README.ubuntu
1 TOC
2 1. Introduction
3 2. Getting the source code
4 3. Installing the required Ubuntu packages
5 4. How to compile
6 5. Uninstalling
7
8 -----------------------------------------------------------------------------
9 1. Introduction
10 -----------------------------------------------------------------------------
11
12 We currently recommend Ubuntu Precise(12.04) or later.
13 A gfx-adapter with OpenGL acceleration is highly recommended and 24/32 
14 bitdepth is required with OpenGL.
15
16 NOTE TO NEW LINUX USERS: All lines that are prefixed with the '$'
17 character are commands that need to be typed into a terminal window /
18 console (similar to the command prompt for Windows). Note that the '$'
19 character itself should NOT be typed as part of the command.
20
21 -----------------------------------------------------------------------------
22 2. Getting the source code
23 -----------------------------------------------------------------------------
24
25    $ sudo apt-get install git-core
26    $ cd $HOME
27    $ git clone git://github.com/xbmc/xbmc.git xbmc
28
29 -----------------------------------------------------------------------------
30 3. Installing the required Ubuntu packages
31 -----------------------------------------------------------------------------
32
33 Two methods exist to install the required Ubuntu packages:
34
35 [NOTICE] For supported old Ubuntu versions, some packages might be outdated.
36          For those, you can either compile them manually, or use our backports
37          available from our official stable PPA:
38
39          http://launchpad.net/~team-xbmc/+archive/ppa
40
41 --------------------------------------------------------------
42 3a. Use a single command to get all build dependencies
43 --------------------------------------------------------------
44 [NOTICE] Supported on ubuntu >= 11.10 (oneiric)
45
46 You can get all build dependencies used for building the packages on the PPA
47
48 Add the unstable and build-depends PPAs:
49    $ sudo apt-get install python-software-properties software-properties-common
50    $ sudo add-apt-repository ppa:team-xbmc/unstable
51    $ sudo add-apt-repository ppa:team-xbmc/xbmc-ppa-build-depends
52    $ sudo apt-get update
53
54 Here is the magic command to get the build dependencies (used to compile the version on the PPA).
55    $ sudo apt-get build-dep xbmc
56
57 * Optional: If you do not want xbmc to be installed via PPA, you can removed the PPAs again:
58    $ sudo add-apt-repository -r ppa:team-xbmc/unstable
59    $ sudo add-apt-repository -r ppa:team-xbmc/xbmc-ppa-build-depends
60
61 *** Avoid using "aptitude" for the build-dep command. It doesn't resolve everything.
62
63 *** For developers and anyone else who compiles frequently it is recommended to use ccache
64    $ sudo apt-get install ccache
65
66 *** A tip for those with multiple computers at home is to check out distcc (totally unsupported from xbmc of course)
67    $ sudo apt-get install distcc
68
69
70 --------------------------------------------------------------------
71 3b. Alternative: Manual dependency installation
72 --------------------------------------------------------------------
73
74 For Ubuntu (all versions >= 7.04):
75
76    $ sudo apt-get install automake bison build-essential cmake curl cvs default-jre fp-compiler gawk gdc gettext git-core gperf libasound2-dev libass-dev libboost-dev libboost-thread-dev libbz2-dev libcap-dev libcdio-dev libcurl3 libcurl4-gnutls-dev libdbus-1-dev libenca-dev libflac-dev libfontconfig-dev libfreetype6-dev libfribidi-dev libglew-dev libiso9660-dev libjasper-dev libjpeg-dev liblzo2-dev libmad0-dev libmicrohttpd-dev libmodplug-dev libmpeg2-4-dev libmpeg3-dev libmysqlclient-dev libnfs-dev libogg-dev libogg-dev libpcre3-dev libplist-dev libpng-dev libpulse-dev libsamplerate-dev libsdl-dev libsdl-gfx1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsmbclient-dev libsqlite3-dev libssh-dev libssl-dev libtiff-dev libtinyxml-dev libtool libudev-dev libusb-dev libvdpau-dev libvorbisenc2 libxml2-dev libxmu-dev libxrandr-dev libxrender-dev libxslt1-dev libxt-dev libyajl-dev mesa-utils nasm pmount python-dev python-imaging python-sqlite swig unzip yasm zip zlib1g-dev
77
78 For >= 10.10:
79    $ sudo apt-get install autopoint libltdl-dev
80
81 On 8.10 and older versions, libcurl is outdated and thus XBMC will not compile properly.
82 In this case you will have to manually compile the latest version.
83    $ wget http://curl.sourceforge.net/download/curl-7.19.7.tar.gz
84    $ tar -xzf curl-7.19.7.tar.gz
85    $ cd curl-7.19.7
86    $ ./configure --disable-ipv6 --without-libidn --disable-ldap --prefix=/usr
87    $ make
88    $ sudo make install
89
90 For >= 12.10
91    $ sudo apt-get install libtag1-dev
92
93 For <= 12.04
94 We need a new version of taglib than what is available. We supply a Makefile in
95 lib/taglib to make it easy to install into /usr/local.
96    $ sudo apt-get remove libtag1-dev
97    $ make -C lib/taglib
98    $ sudo make -C lib/taglib install
99
100 Unless you are proficient with how linux libraries and versions work, do not
101 try to provide it yourself, as you will likely mess up for other programs.
102
103
104 -----------------------------------------------------------------------------
105 4. How to compile
106 -----------------------------------------------------------------------------
107 See README.linux
108
109 -----------------------------------------------------------------------------
110 4.1. Test Suite
111 -----------------------------------------------------------------------------
112 See README.linux
113
114 -----------------------------------------------------------------------------
115 5. Uninstalling
116 -----------------------------------------------------------------------------
117 $ sudo apt-get remove xbmc*
118
119 EOF
120