How to install TvHeadend on a Raspberry Pi

Tvheadend is a TV streaming server and recorder for Linux. It also offers a great possibility to combine a SAT-recorder with KODI mediacenter on a Raspberry Pi (I would recommend a raspberry Pi 3 due to RAM requirements).

Installing Tvheadend by compiling from source was not so easy, so it is definately easier to install via precompiled packages. In order to do so, the following steps are required:


Just go to https://tvheadend.org/projects/tvheadend/wiki/AptRepository, choose the right distribution (xenial for ARM) build type & version (release-4.2, stable4.2, unstable), add the according repo and install tvheadend!

echo "deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee /etc/apt/sources.list.d/tvheadend.list
sudo apt-get update
sudo apt-get install tvheadend

If a libssl1.0.0 error occur, libssl needs to be installed with the correct version. In my case this had to be done manually – and it seemed to be a very common error.

wget http://ftp.us.debian.org/debian/pool/main/o/openssl/libssl1.0.0_1.0.2l-1~bpo8+1_armhf.deb
sudo dpkg -i libssl1.0.0_1.0.2l-1~bpo8+1_armhf.deb
sudo apt-get install tvheadend

That’s it.

3 thoughts on “How to install TvHeadend on a Raspberry Pi”

  1. Keep getting this

    The following packages have unmet dependencies:
    tvheadend : Depends: libdbus-1-3 (>= 1.9.14) but 1.8.22-0+deb8u1 is to be installed
    Depends: libssl1.1 (>= 1.1.0) but it is not installable
    E: Unable to correct problems, you have held broken packages.

    1. Phew – these SSL errors bugged me for quite a while! Maybe you can somehow install them or link them otherwise – sorry

      1. I ran into the same errors. The problem was, that I was mistakenly trying to install the TV Headend version for Debian Stretch on a Raspbian Jessie, which was leading to the same unresolvable version conflicts and missing dependencies as those mentioned by Franz.

        This could be fixed using the raspbianjessie distribution from the unofficial repo instead of xenial (as mentioned in the blog post) or raspbianstretch:

        echo “deb https://dl.bintray.com/mpmc/deb raspbianjessie stable-4.2″ | sudo tee /etc/apt/sources.list.d/tvheadend.list

        (see also https://tvheadend.org/projects/tvheadend/wiki/AptRepository)

        The unofficial repo currently seems to be the only repo which actually provides packages for the Raspberry (the official repo is currently blocked by Bintray and the Doozer / apt.tvheadend.org repo seems to be empty).

        I hope this helps.

Comments are closed.