Project

General

Profile

AptRepositories-draft » History » Version 1

Mark Clarkstone, 2018-09-04 18:56

1 1 Mark Clarkstone
h1. APT Repositories
2
3
{{>toc}}
4
5
h2. Official Repositories
6
7
The official packages are build using Doozer. The repositories are provided by "Doozer":https://doozer.io (at http://apt.tvheadend.org) and Bintray (at https://bintray.com/tvheadend).
8
9
h3. Status
10
11
(/) 9/4/2018: No reported issues.
12
13
h3. Build Types, Versions and Repository Availability
14
15
Our repositories differ slightly in structure and package availability.
16
*Where are packages for my distro/arch?* At the moment Doozer only has support for a limited number of build targets, new ones will be added as soon as possible. Take a look at the 3rd-party repos below or build your own.
17
18
| Repository | Version             | Supported Distros and Architectures                                                                                                                                                                                   | Build Type / Repo Component |
19
| Doozer     | 4.2.6-x (stable)    | ✓ amd64: Debian: Stretch and Jessie, Ubuntu: Bionic, Trusty and Xenial
20
✓ armhf/arm64: Ubuntu Xenial
21
*⚠ i386: Debian: Stretch and Jessie, Ubuntu: Trusty and Xenial*
22
                                                                         | stable |
23
| Doozer     | 4.3.x (unstable)    | ✓ amd64: Debian: Stretch and Jessie, Ubuntu: Bionic, Trusty and Xenial
24
✓ armhf/arm64: Ubuntu Xenial
25
✓ armhf: Raspbian: Jessie and Stretch
26
*⚠ i386: Debian: Stretch and Jessie, Ubuntu: Trusty and Xenial*
27
                                                                        | unstable |
28
| Bintray    | 4.2.6 (release-4.2) | ✓ amd64: Debian: Stretch and Jessie, Ubuntu: Trusty and Xenial
29
✓ armhf/arm64: Ubuntu Xenial
30
*⚠ i386: Debian: Stretch and Jessie, Ubuntu: Trusty and Xenial*
31
                                                                        | release-4.2 |
32
| Bintray    | 4.2.6-x (stable-4.2)| ✓ amd64: Debian: Stretch and Jessie, Ubuntu: Bionic, Trusty and Xenial
33
✓ i386: Debian: Stretch and Jessie, Ubuntu: Bionic, Trusty and Xenial
34
✓ armhf/arm64: Ubuntu Xenial
35
                                                                        | stable-4.2 |
36
| Bintray    | 4.3.x (unstable)    | ✓ amd64: Debian: Stretch and Jessie, Ubuntu: Bionic, Trusty and Xenial
37
✓ i386: Debian: Stretch and Jessie, Ubuntu: Bionic, Trusty and Xenial
38
✓ armhf/arm64: Ubuntu Xenial
39
                                                                        | unstable |
40
41
✓ = Repository supports that distro and architecture.
42
⚠ = Repository *doesn't* support certain distros and architectures, and/or packages may have missing features, i.e, transcoding.
43
44
h4. Distribution Code-names
45
46
| Distro              | Code-name |
47
| Debian Stretch 9    | stretch  |
48
| Debian Jessie 8     | jessie   |
49
| Ubuntu Bionic 18.04 | bionic   |
50
| Ubuntu Xenial 16.04 | xenial   |
51
| Ubuntu Trusty 14.04 | trusty   |
52
| Raspbian Stretch 9  | raspbianstretch |
53
| Raspbian Jessie 8   | raspbianjessie  |
54
55
h3. Usage
56
57
h4. 1. Install GPG keys
58
59
+*Bintray*+
60
<pre>
61
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
62
</pre>
63
64
+*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
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
</pre>
77
78
You need to install dirmngr: 
79
80
<pre>sudo apt-get install dirmngr</pre>
81
82
Once installed add the key again, it should succeed this time.
83
84
h4. 2. Choose build type add the repository
85
86
* Replace DISTRO with the distribution's code name - use the +Code-name+ for your distro (as shown in the +Distribution Code-names+ table above).
87
* Replace REPO-COMPONENT with the desired build type - use the +Build Type / Repo Component+ (as shown in the +Build Types, Versions and Repository Availability+ table above). 
88
* *Watch out* for subtle differences, be sure to check the repository has your desired build type and component. 
89
* +*Pay special attention* to the difference between +stable-4.2+ (on Bintray) and +stable+ (on Doozer).+
90
91
92
+*Bintray*+
93
<pre>
94
echo "deb https://dl.bintray.com/tvheadend/deb DISTRO REPO-COMPONENT" | sudo tee /etc/apt/sources.list.d/tvheadend.list
95
</pre>
96
97
> Example:
98
> <pre>
99
echo "deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee /etc/apt/sources.list.d/tvheadend.list
100
</pre>
101
102
+*Doozer*+
103
<pre>
104
echo "deb http://apt.tvheadend.org/REPO-COMPONENT DISTRO main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
105
</pre>
106
107
> Example:
108
> <pre>
109
echo "deb http://apt.tvheadend.org/unstable xenial main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list
110
</pre>
111
112
113
h4. 3. Refresh packages and install
114
115
<pre>
116
sudo apt-get update
117
sudo apt-get install tvheadend
118
</pre>
119
120
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:
121
122
<pre>
123
unstable > stable-4.2 > stable
124
</pre>
125
126
h3. Help
127
128
Please open an issue or join the IRC channel to report problems with the official repository. 
129
130
h2. Unofficial Repositories
131
132
3rd-party unofficial repositories.
133
134
h3. Ubuntu PPA
135
136
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.
137
138
h4. Usage
139
140
First, pick either the Stable or Unstable build:
141
142
For the Stable PPA containing daily builds from the latest stable branch:
143
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>
144
145
For the Unstable PPA containing daily builds from master:
146
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>
147
148
Then, for both:
149
150
Update your packages:
151
<pre>sudo apt update</pre>
152
153
Install:
154
<pre>sudo apt install tvheadend</pre>
155
156
h4. Help
157
158
If you experience issues with this PPA please contact Michael on IRC (mamarley in #hts on Freenode) or "Launchpad":https://launchpad.net/~mamarley.
159
160
h3. Raspberry Pi / Raspbian armhf 
161
162
Unofficial Raspbian packages are provided by mpmc for both Raspbian Jessie and Stretch.
163
164
* 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.
165
* There's no transcoding support, mainly because the Pi isn't powerful enough to do software transcoding and hardware transcoding is not yet available. 
166
* There is no changes to the code whatsoever for these builds.
167
* Make sure to enter the distro as raspbianjessie/raspbianstretch and not jessie/stretch.
168
169
h4. Usage 
170
171
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+.
172
173
> Example:
174
> <pre>echo "deb https://dl.bintray.com/mpmc/deb raspbianstretch stable-4.2" | sudo tee /etc/apt/sources.list.d/tvheadend.list</pre>
175
176
h4. Help
177
178
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).