Project

General

Profile

AptRepositories-draft » History » Revision 4

Revision 3 (Mark Clarkstone, 2018-10-18 23:17) → Revision 4/16 (Mark Clarkstone, 2018-10-18 23:24)

h1. APT Repositories

{{>toc}}

h2. Official

Our official repository and packages are provided by "Doozer":https://doozer.io on https://apt.tvheadend.org.

h4. Status

(/) 10/18/2018 - OK, no reported issues.

h3. Build Types

| *Build Type* | *Description* | *(Current) Version* | *Repo Component* |
| Stable | Latest release and fixes | v4.2.7~githash | stable |
| Development | Development builds | v4.3.*~githash | unstable |

(/) Stable is the +recommended+ choice for most people.
(!) Development is for those who want to help develop and test the latest code.

h3. Supported Distros and Architectures

| *Distro* | *Code-name* | *Architectures* | *Notes* |
| Debian Stretch 9 | stretch | amd64, i386 | None |
| Debian Jessie 8 | jessie | amd64, i386 | See footnote 1[1] |
| Ubuntu Bionic 18.04 | bionic | amd64, i386 | None |
| Ubuntu Xenial 16.04 | xenial | amd64, i386, arm64 | See footnote 1[1] - applies to arm64 only |
| Ubuntu Trusty 14.04 | trusty | amd64, i386 | None |
| Raspbian Stretch 9 | raspbian-stretch | armhf | See footnote 1[1] |
| Raspbian Jessie 8 | raspbian-jessie | armhf | See footnote 1[1] |

fn1. Transcoding support is unavailable on these distros.

-

h3. Usage

Here are some copy/paste examples on how to use the repo that should work for most[2].



h4. 1. Install Required Packages and add the Repository PGP key

<pre>
sudo apt-get -y install coreutils wget apt-transport-https lsb-release ca-certificates
sudo wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add -
</pre>

fn2. We assume you have sudo installed. If not, and you're root, you can omit sudo, otherwise please ask your administrator to.. <pre>apt-get install sudo; usermod sudo</pre> and <pre>usermod -aG sudo <your account name></pre>

-

h4. 2. Create/Add the Sources List

*Raspbian users (and anyone else who can't install/use lsb-release) please see the third footnote[3]*.

Stable:
<pre>
sh -c 'echo "deb https://apt.tvheadend.org/stable $(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/tvheadend.list'
</pre>

Unstable:
<pre>
sh -c 'echo "deb https://apt.tvheadend.org/unstable $(lsb_release -sc) main" | tee -a /etc/apt/sources.list.d/tvheadend.list'
</pre>

fn3. Unfortunately you won't be able to use the command, at least not in the way it's shown, you need to replace " $(lsb_release -sc)" with "raspbian-stretch", "raspbian-jessie" or your distros code-name.

fn3001. Examples..
<pre>
echo
> <pre>echo "deb http://apt.tvheadend.org/stable raspbian-jessie main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
echo
/etc/apt/sources.list.d/tvheadend.list</pre>
> <pre>echo
"deb http://apt.tvheadend.org/stable raspbian-stretch main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
</pre>
/etc/apt/sources.list.d/tvheadend.list</pre>

fn3002. *Tip:* If you want to use unstable, simply replace _stable_ with _unstable_.

-

h4. 3. Update Sources and Install

<pre>
sudo apt-get update
sudo apt-get install tvheadend
</pre>

> *Tip:* On some installs (generally fresh ones) you might be asked to enter some details. If you'd like to reconfigure these details later, you can run.. <pre>sudo dpkg-reconfigure tvheadend</pre> and afterwards.. <pre>sudo service tvheadend restart</pre> :)

Job done!

h3. Help

Please open an issue or join the IRC channel to report problems with the official repository.

---

h2. Third-party

Third-party repositories are provided as-is and supported by the person who manages them, we cannot guarantee that we'll be able to help with issues relating to the use of these packages/repositories. The older official Bintray is exempt from this (Yes we know it's not technically third party ;) ). ;)).

In any case we'll try our best to help, or point you to where you can get some!

h3. (Older) Official Bintray

This is our older official Bintray repository, packages are built using Doozer, the repository itself is provided by "Bintray":https://bintray.com via https://bintray.com/tvheadend.

h4. What Happened to the Bintray Repository?

Unfortunately due to rate-limiting we've decided to phase-out (SLOWLY) the use of Bintray. *Don't worry the repository won't be disappearing[4], it just won't be updated as often :(.*

If you would like to use old instructions they can be viewed "here":https://tvheadend.org/projects/tvheadend/wiki/AptRepository/116 :)

fn4. mpmc's third-party Bintray repository will still be updated regularly, so Raspbian users don't panic - see the link above for usage. :) However, it's now recommended that you use the official repo :)

h3. Help

Please open an issue or join the IRC channel to report problems with the official repository.

h3. Ubuntu PPA

Unofficial PPAs are provided by Michael Marley that provide packages for Artful, Zesty, Yakkety, and Xenial for the amd64, arm64, armhf, i386 and ppc64el architectures.

h4. Status

(!) 10/18/2018 - Please see "here (stable)":https://launchpad.net/~mamarley/+archive/ubuntu/tvheadend-git-stable and "here (unstable)":https://launchpad.net/~mamarley/+archive/ubuntu/tvheadend-git for PPA status.

h4. Usage

*1. Pick a Build Type*

For the Stable PPA containing daily builds from the latest stable branch:
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>

For the Unstable PPA containing daily builds from master:
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>

*2. Update Sources*

<pre>sudo apt update</pre>

*3. Install*
<pre>sudo apt install tvheadend</pre>

h4. Help

If you experience issues with this PPA please contact Michael on IRC (mamarley in #hts on Freenode) or "Launchpad":https://launchpad.net/~mamarley.