Project

General

Profile

AptRepositories » History » Version 95

Mark Clarkstone, 2018-04-20 13:17

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 94 Mark Clarkstone
The official deb packages are built using "Doozer":https://doozer.io. Our repositories are provided by Doozer (on apt.tvheadend.org) and "Bintray":https://bintray.com/tvheadend.
8 1 Adam Sutton
9 88 Mark Clarkstone
h3. Repository Status
10 87 Mark Clarkstone
11 89 Mark Clarkstone
(/) OK as of 02/22/18.
12 87 Mark Clarkstone
13 72 Mark Clarkstone
h3. Build Types and Versions
14 1 Adam Sutton
15 94 Mark Clarkstone
Please read the following:-
16 1 Adam Sutton
17 94 Mark Clarkstone
* You may use either repository, or add both _(recommended)_!
18
* It's advised that you use release or stable, only use unstable if you want bleeding-edge & don't mind breakages. 
19
* If using unstable be sure to install tvheadend-dbg. If reporting crashes with unstable, please include proper [[debugging]] & [[Traces|trace]] information.
20
21
+*Bintray*+
22
23 93 Mark Clarkstone
| *Build Type* | *Description* | *Version*  | *Repo Component* |
24 1 Adam Sutton
| release      | The latest version marked for release | 4.2.6      | release-4.2 |
25 90 Mark Clarkstone
| stable       | The latest stable code with changes/fixes between releases             | 4.2.6-x~githash    | stable-4.2       |
26 1 Adam Sutton
| unstable     | This is the current development "bleeding-edge" | 4.3.x | unstable |
27
28 94 Mark Clarkstone
+*Doozer*+
29 1 Adam Sutton
30 94 Mark Clarkstone
| *Build Type* | *Description* | *Version*  | *Repo Component* |
31
| stable       | The latest stable code with changes/fixes between releases             | 4.2.6-x~githash    | stable       |
32
| unstable     | This is the current development "bleeding-edge" | 4.3.x | unstable |
33 1 Adam Sutton
34 72 Mark Clarkstone
h3. Supported Distributions and Architectures 
35 1 Adam Sutton
36 94 Mark Clarkstone
The official repositories support the following distributions and architectures.
37 54 Mark Clarkstone
38 72 Mark Clarkstone
| *Distribution*                      | *Architecture*       | *Notes* |
39
| Debian Jessie "jessie" (8.x)        | - i386
40
                                        - amd64              |  |
41
| Debian Stretch "stretch" (9.x)      | - i386
42
                                        - amd64              |  |
43
| Ubuntu Xenial "xenial" (16.04)      | - i386
44
                                        - amd64
45 1 Adam Sutton
                                        - armhf 
46
                                        - arm64              | armhf/arm64 do not have transcoding support (yet) |
47 72 Mark Clarkstone
| Trusty "trusty" (14.04)            | - i386
48 1 Adam Sutton
                                       - amd64               |  |
49 94 Mark Clarkstone
| Bionic Beaver "bionic" (18.04)            | - i386
50
                                       - amd64               | *Doozer repository only* |
51 1 Adam Sutton
52
*Where are the builds for my distro/arch?*
53
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. 
54
55
h3. Usage
56
57 94 Mark Clarkstone
h4. 1. First install GPG keys:
58 1 Adam Sutton
59 94 Mark Clarkstone
+*Bintray*+
60 1 Adam Sutton
<pre>
61
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
62
</pre>
63
64 94 Mark Clarkstone
+*Doozer (apt.tvheadend.org)*+
65
<pre>
66
wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add -
67
</pre>
68
69
---
70
71
If you see something like the following:
72
<pre>Executing: /tmp/apt-key-gpghome666/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
73 1 Adam Sutton
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
74
gpg: connecting dirmngr at '/run/user/0/gnupg/d.1234/S.dirmngr' failed: No such file or directory
75
gpg: keyserver receive failed: No dirmngr
76 83 Mark Clarkstone
</pre>
77
78 94 Mark Clarkstone
You need to install dirmngr: 
79 83 Mark Clarkstone
80 94 Mark Clarkstone
<pre>sudo apt-get install dirmngr</pre>
81
82
Once installed add the key again, it should succeed this time.
83
84 95 Mark Clarkstone
h4. 2. Pick a build type, add the repository accordingly:
85 94 Mark Clarkstone
86
+*Bintray*+
87 1 Adam Sutton
<pre>
88
echo "deb https://dl.bintray.com/tvheadend/deb DISTRO REPO-COMPONENT" | sudo tee /etc/apt/sources.list.d/tvheadend.list
89
</pre>
90
91
> Example:
92
> <pre>
93
echo "deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee /etc/apt/sources.list.d/tvheadend.list
94
</pre>
95
96 94 Mark Clarkstone
+*Doozer*+
97
<pre>
98
echo "deb http://apt.tvheadend.org/REPO-COMPONENT DISTRO main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
99
</pre>
100
101
> Example:
102
> <pre>
103
echo "deb http://apt.tvheadend.org/unstable xenial main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
104
</pre>
105
106
---
107
108
* Replace DISTRO with the distribution's code name (as quoted in _Supported Distributions and Architectures_). Replace REPO-COMPONENT with the desired build type. 
109
110
* *Watch out* for subtle differences though, be sure to check the repository has your desired build type and component. 
111
112
* *Please pay special attention* to the difference between +stable-4.2+ (on Bintray) and +stable+ (on Doozer), and make sure you use the text in the +Repo Component+ column and not +Build Type+ (in the Build Types and Versions tables).
113
114
115
h4. 3. Refresh the available packages and install:
116 21 Mark Clarkstone
117
<pre>
118 28 Adam Sutton
sudo apt-get update
119 21 Mark Clarkstone
sudo apt-get install tvheadend
120
</pre>
121
122 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:
123 50 Jaroslav Kysela
124 28 Adam Sutton
<pre>
125
unstable > stable-4.2 > stable
126 54 Mark Clarkstone
</pre>
127 1 Adam Sutton
128 72 Mark Clarkstone
h3. Help
129 1 Adam Sutton
130 72 Mark Clarkstone
Please open an issue or join the IRC channel to report problems with the official repository. 
131 50 Jaroslav Kysela
132 72 Mark Clarkstone
h2. Unofficial Repositories
133 58 Mark Clarkstone
134 72 Mark Clarkstone
3rd-party unofficial repositories.
135 58 Mark Clarkstone
136 72 Mark Clarkstone
h3. Ubuntu PPA
137 58 Mark Clarkstone
138
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.
139
140 72 Mark Clarkstone
h4. Usage
141 58 Mark Clarkstone
142 72 Mark Clarkstone
First, pick either the Stable or Unstable build:
143
144
For the Stable PPA containing daily builds from the latest stable branch:
145 58 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>
146 62 Mark Clarkstone
147 72 Mark Clarkstone
For the Unstable PPA containing daily builds from master:
148 58 Mark Clarkstone
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>
149
150 1 Adam Sutton
Then, for both:
151 58 Mark Clarkstone
152 72 Mark Clarkstone
Update your packages:
153 62 Mark Clarkstone
<pre>sudo apt update</pre>
154 58 Mark Clarkstone
155 72 Mark Clarkstone
Install:
156 50 Jaroslav Kysela
<pre>sudo apt install tvheadend</pre>
157 57 Mark Clarkstone
158 72 Mark Clarkstone
h4. Help
159
160 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.
161 1 Adam Sutton
162
h3. Raspberry Pi / Raspbian armhf 
163 78 Mark Clarkstone
164 72 Mark Clarkstone
Unofficial Raspbian packages are provided by mpmc for both Raspbian Jessie and Stretch. *Before using this repo please read the notes.*
165
166
h4. Usage 
167
168
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.
169 1 Adam Sutton
170 72 Mark Clarkstone
h4. Notes
171
172 76 Mark Clarkstone
* 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.
173 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. 
174
* There is no changes to the code whatsoever for these builds.
175
* Make sure to enter the distro as raspbianjessie/raspbianstretch and not jessie/stretch.
176
177
h4. Help
178
179
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).