How To Install Mythtv

Posted By admin On 26/11/21

This page is up-to-date as of MythTV version 30, the current release is 31.0

  1. How To Install Mythtv Package
  2. Mythtv Windows 10
  3. How To Install Mythtv
  4. How To Install Kodi-pvr-mythtv

In this chapter, we will show how to install the dependencies for MythTV such as the MySQL database; lirc, which is the remote control driver; and then MythTV itself. We will show how to perform some basic configuration, and by the end of the chapter you should be able to watch Live TV, pause it, and change the channel. Install MythTV Install mythtv-frontend or mythtv; I also install xine, mplayer, and vlc, though you certainly may omit $ sudo aptitude install mythtv-frontend mythtv-themes mythtv mythweb. The first screen of the General configuration deals with IP addresses of the backend system that you're running mythtv-setup on. If you are setting up only one backend/frontend installation, then the default values are fine and you can move to the next page by pressing the enter. If you need to move around the screen, use the arrow keys to move. Sudo apt-get install mythbuntu-control-centre, then run the control centre and install what bits you want from there. If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks:) (People with less than 20 posts won't see the 'thumbs up' button.).

  • 2Build your own Packages

This page will describe how to install on Debian, using the package manager. Currently no MythTV-approved repository exists so the packages need to be built from source. This is an easy process using a script that can be checked out from git.


First install the dependancies instructions can be found at Build_from_Source#Installing_Build_Dependencies_without_Ansible

Getting and compiling the source code

StepCommand to run
create a directorycd
mkdir ~/build
clone the git mythtv packagescd ~/build
git clone -b fixes/30
cd packaging/deb
Start the build. This script checks out the latest version of fixes/30 from git and builds the packages. 31.0../ fixes/30

In general, you should probably choose the stable version. If you don't mind if your MythTV system is non-functional or has serious bugs that may prevent proper operation/result in lost recordings or inability to play back recordings, you may try using the unstable, development code replace the above fixes/30 with master. If using unstable, development code, you should follow the mythtv-commits and mythtv-dev mailing lists.

After about 30 minutes the build will complete and there will be a lot of .deb files in the current directory.

Decide what type of installation you need.

If this is your first system and you are using a single box for recording and watching, you need a complete frontend, backend and database. Choose the mythtv package.

If you are adding a Frontend to an existing system, to allow for watching on another TV or computer system, choose the mythtv-frontend package.

If you are adding a Slave Backend use mythtv-backend. This is an advanced usage that few people will need.

There are packages for installing a complete system, or for installing parts of a multi server system.

How To Install Mythtv Package

Available Packages
mythtv Complete frontend and backend system with database.
mythtv-frontend Frontend that connects to a separate backend.
mythtv-backend Backend without database. This is either a master backend where there is a separate database server or a slave backend.
mythtv-backend-master Master Backend with database.
mythtv-database MythTV database only. Advanced use where there is a separate database server from backend. You will need to also install mysql server when using this.
mythplugins Plugins for a frontend system. Install this after installing your main package from earlier in this list.
mythweb MythWeb provides a frontend for scheduling and managing recordings from a web browser.

Once you have the correct Release version in your repository, install the package, as follows:

See Ticket URL

The packages do the following:

  • Install mythtv software and all prerequisites.
  • Install MySQL database software.
  • Create a MySQL database user for MythTV
  • Set up the MythTV configuration file.
  • Create an upstart configuration that automatically runs the backend at system startup time.
  • Configure a weekly backup of the database using Anacron.
  • Create desktop entries to launch MythTV and the MythTV setup from the GUI menus (Unity, Gnome or other desktops you may have installed).

Mythtv Windows 10

Once the software is installed, proceed to Configuring MythTV.

Retrieved from ''

How To Install Mythtv

Here is my method for setting up MythTV on Debian 7 (Wheezy). I chose Debian as I found it the most stable Linux distribution and also allowed for a very minimal installation. This is a backend only setup as I use XBMC as the frontend on another PC.

How To Install Kodi-pvr-mythtv

Note: The commands below are run as the root user unless specified.

  1. Install Debian. I used the network install ISO, set up on a USB stick. During installation I did not choose to install any packages other than SSH.
  2. Login via SSH. I use PuTTY on my Windows machine. In order to get mythtv-setup to work, you will need to install an X Windows server. I use Xming.
  3. In PuTTY, enable X11 forwarding. Enter localhost:0 for the X display location. Make sure Xming is running before connecting.
  4. Update /etc/apt/sources.list. We need to add the repository at, so MythTV can be installed.
  5. Add non-free to the existing sources as well. This was required to download the firmware for the Sony PlayTV tuner I’m using.
  6. Run the following to install the deb-multimedia package source.
  7. Here I’m installing the firmware for the tuner, as well as ntp client and the X Windows Server.
  8. Install MythTV. We need to install from the Wheezy-Backports repository as the stable one does not have the latest version.
  9. I open access to Apache for access to MythWeb on the local subnet. Edit /etc/mythtv/mythweb.conf.

    Where is your LAN IPv4 network address.

  10. Restart the Apache server for the above change to take effect.
  11. Create MythTV storage directories. I have a drive mounted to /mnt/storage, and create a directory here called mythtv. Under this I create two directories, one for recorded TV, the other for the live TV buffer. I then give the mythtv user read and write permission on the directories.
  12. Run mythtv-setup as your non-root user. Refer to the MythTV Wiki for setup help.
  13. Make sure mythtv-backend is running. You can start the backend like so.
  14. The MythTV backend should now be ready.