Ubuntu Vivid Vervet 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 Vivid Vervet 15.04. It is not meant as a full install guide, just as a reference on how to compile a basic MythTV installation under Ubuntu 15.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: This installation guide was tested with Mythtv 0.27.5. 0.28-pre requires Qt version 5.2 (qt5-default libqt5script5 libqt5scripttools5 qtscript5-dev libqt5webkit5-dev libqt5sql5-mysql.)
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 libtool-bin autoconf
For Xubuntu 15.04 you might want to install ALSA sound driver as well since Pulse is not the recommended sound system for Mythtv:
sudo apt-get install libasound2-dev
Download MythTV Source Code
Follow the instructions or for the latest stable version
git clone -b fixes/0.27 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