Project

General

Profile

AptRepositories-draft » History » Version 2

Mark Clarkstone, 2018-10-03 11:38

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