Project

General

Profile

AptRepositories » History » Version 115

Mark Clarkstone, 2018-10-17 23:33

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