Project

General

Profile

AptRepositories » History » Version 86

Mark Clarkstone, 2018-01-26 12:06
Make it clear what value is used for the build type choice.

1 72 Mark Clarkstone
h1. APT Repositories
2 1 Adam Sutton
3 72 Mark Clarkstone
{{>toc}}
4 50 Jaroslav Kysela
5 72 Mark Clarkstone
h2. Official Repository
6 1 Adam Sutton
7 74 Mark Clarkstone
The official deb packages are built using "Doozer":https://doozer.io and our repository is provided by "Bintray":https://bintray.com/tvheadend.
8 1 Adam Sutton
9 72 Mark Clarkstone
h3. Build Types and Versions
10 1 Adam Sutton
11 86 Mark Clarkstone
12 72 Mark Clarkstone
| *Build Type* | *Description* | *Version*  | *Repo Component* |
13 82 Mark Clarkstone
| release      | The latest version marked for release | 4.2.5      | release-4.2 |
14
| stable       | The latest stable code with changes/fixes between releases             | 4.2.5-x~githash    | stable-4.2       |
15 72 Mark Clarkstone
| unstable     | This is the current development "bleeding-edge" | 4.3.x | unstable |
16 1 Adam Sutton
17 72 Mark Clarkstone
*It's advised that you use release or stable, only use unstable if you want bleeding-edge & don't mind breakages!*
18 1 Adam Sutton
19 72 Mark Clarkstone
h3. Supported Distributions and Architectures 
20 1 Adam Sutton
21 72 Mark Clarkstone
The official repository supports the following distributions and architectures.
22 54 Mark Clarkstone
23 72 Mark Clarkstone
| *Distribution*                      | *Architecture*       | *Notes* |
24
| Debian Jessie "jessie" (8.x)        | - i386
25
                                        - amd64              |  |
26
| Debian Stretch "stretch" (9.x)      | - i386
27
                                        - amd64              |  |
28
| Ubuntu Xenial "xenial" (16.04)      | - i386
29
                                        - amd64
30
                                        - armhf 
31
                                        - arm64              | armhf/arm64 do not have transcoding support (yet) |
32
| Trusty "trusty" (14.04)            | - i386
33
                                       - amd64               |  |
34 1 Adam Sutton
35 72 Mark Clarkstone
*Where are the builds for my distro/arch?*
36
At the moment the Doozer build system only has support for a limited number of build targets. New targets will be added as soon as possible. Take a look at the 3rd-party repos below or build your own. 
37 1 Adam Sutton
38 72 Mark Clarkstone
h3. Usage
39 1 Adam Sutton
40
First install bintray's GPG key:
41
42
<pre>
43
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
44
</pre>
45
46 83 Mark Clarkstone
> If you see something like the following:
47
> <pre>Executing: /tmp/apt-key-gpghome666/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
48
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
49
gpg: connecting dirmngr at '/run/user/0/gnupg/d.1234/S.dirmngr' failed: No such file or directory
50
gpg: keyserver receive failed: No dirmngr
51
</pre>
52
> You need to install dirmngr
53
> <pre>sudo apt-get install dirmngr</pre>
54
> Once installed add the key again, it should succeed this time.
55
56 1 Adam Sutton
Select which build type you want and add the repository accordingly:
57
58 50 Jaroslav Kysela
<pre>
59 72 Mark Clarkstone
echo "deb https://dl.bintray.com/tvheadend/deb DISTRO REPO-COMPONENT" | sudo tee -a /etc/apt/sources.list
60 1 Adam Sutton
</pre>
61
62 86 Mark Clarkstone
Replace DISTRO with the distribution's code name (as quoted in _Supported Distributions and Architectures_). Replace REPO-COMPONENT with the desired build type.
63
64
*Make sure you, use the text in the +Repo Component+ column and not +Build Type+.*
65 1 Adam Sutton
 
66 35 Mark Clarkstone
> Example:
67 34 Mark Clarkstone
> <pre>
68 50 Jaroslav Kysela
echo "deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee -a /etc/apt/sources.list
69 21 Mark Clarkstone
</pre>
70
71 28 Adam Sutton
Refresh the available packages and install:
72 21 Mark Clarkstone
73
<pre>
74 28 Adam Sutton
sudo apt-get update
75 21 Mark Clarkstone
sudo apt-get install tvheadend
76
</pre>
77
78 28 Adam Sutton
Note: if you install more than one suite you will only ever get packages from the one holding the most recent version number, so the order of priority would be:
79 50 Jaroslav Kysela
80 28 Adam Sutton
<pre>
81
unstable > stable-4.2 > stable
82 54 Mark Clarkstone
</pre>
83 1 Adam Sutton
84 72 Mark Clarkstone
h3. Help
85 1 Adam Sutton
86 72 Mark Clarkstone
Please open an issue or join the IRC channel to report problems with the official repository. 
87 50 Jaroslav Kysela
88 72 Mark Clarkstone
h2. Unofficial Repositories
89 58 Mark Clarkstone
90 72 Mark Clarkstone
3rd-party unofficial repositories.
91 58 Mark Clarkstone
92 72 Mark Clarkstone
h3. Ubuntu PPA
93 58 Mark Clarkstone
94
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.
95
96 72 Mark Clarkstone
h4. Usage
97 58 Mark Clarkstone
98 72 Mark Clarkstone
First, pick either the Stable or Unstable build:
99
100
For the Stable PPA containing daily builds from the latest stable branch:
101 58 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>
102 62 Mark Clarkstone
103 72 Mark Clarkstone
For the Unstable PPA containing daily builds from master:
104 58 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>
105
106 1 Adam Sutton
Then, for both:
107 58 Mark Clarkstone
108 72 Mark Clarkstone
Update your packages:
109 62 Mark Clarkstone
<pre>sudo apt update</pre>
110 58 Mark Clarkstone
111 72 Mark Clarkstone
Install:
112 50 Jaroslav Kysela
<pre>sudo apt install tvheadend</pre>
113 57 Mark Clarkstone
114 72 Mark Clarkstone
h4. Help
115
116 73 Mark Clarkstone
If you experience issues with this PPA please contact Michael on IRC (mamarley in #hts on Freenode) or "Launchpad":https://launchpad.net/~mamarley.
117 1 Adam Sutton
118
h3. Raspberry Pi / Raspbian armhf 
119 78 Mark Clarkstone
120 72 Mark Clarkstone
Unofficial Raspbian packages are provided by mpmc for both Raspbian Jessie and Stretch. *Before using this repo please read the notes.*
121
122
h4. Usage 
123
124
To use this repository follow the official usage guide, but change the repository URL from *https://dl.bintray.com/tvheadend/deb* to *https://dl.bintray.com/mpmc/deb* and replace DISTRO with raspbianstretch or raspbianjessie.
125 1 Adam Sutton
126 72 Mark Clarkstone
h4. Notes
127
128
* These builds are done *manually* and may lag behind, however I'll do my best to keep them updated until the official repo is able to provide the packages.
129 76 Mark Clarkstone
* -Only *stable-4.2* and *unstable* builds are available. *There is no release-4.2 build*.- There is now a release-4.2 starting with 4.2.4.
130 72 Mark Clarkstone
* There's no transcoding support, mainly because the Pi isn't powerful enough to do software transcoding and hardware transcoding is not yet available. 
131
* There is no changes to the code whatsoever for these builds.
132
* Make sure to enter the distro as raspbianjessie/raspbianstretch and not jessie/stretch.
133
134
h4. Help
135
136
If you experience issues with this repository contact mpmc on "github":http://github.com/mpmc or send a message on IRC (mpmc in #hts on Freenode).