Ubuntu Trusty Tahr Installation
| See Ubuntu Installation Guides for installing on other Ubuntu versions. |
These instructions allow you to compile the latest development version of MythTV on Ubuntu Trusty Tahr 14.04. It is not meant as a full install guide, just as a reference on how to compile a basic MythTV installation under Ubuntu 14.04. Setup of the database and configuring MythTV are covered here: User Manual:Initial Installation. Note that you can also simply add the Mythbuntu PPA if you don't want to do development yourself.
Note: Do not install MythTV this way if you want a released version of MythTV. This document tells you how to install the unstable development version of the application which we do not recommend using in a Production (ie non development) environment.
Contents
Install Required Packages
sudo apt-get install git build-essential qt4-dev-tools yasm uuid-dev libfreetype6-dev libmp3lame-dev libxinerama-dev libtag1-dev make gcc g++ libexiv2-dev libdbd-mysql-perl libnet-upnp-perl libdbi-perl python-urlgrabber python-mysqldb libqt4-sql-mysql
Download MythTV Source Code
Follow the instructions or for the latest unstable, development version
git clone git://github.com/MythTV/mythtv.git
will create a subdirectory named mythtv which contains the source code.
To update your copy of the source code, change to the mythtv directory created, and then
git pull
Configure the MythTV Compile Options
Change to the mythtv directory created when you downloaded the source code using Git, then
./configure
To see a list of all possible options run
./configure --help
Describing all of the options is outside the scope of this document.
Note: If you get an error message telling you that something is missing then you did not install something which had to be installed before installing MythTV (those are called dependencies). Please seek help on the mythtv-users mailing list..
Compile and install MythTV
Change to the mythtv directory created when you downloaded the source code using Git (if you aren't already there from the previous section), then
make
sudo make install