AptRepositories » History » Version 98
Mark Clarkstone, 2018-04-30 11:34
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 | 98 | Mark Clarkstone | (!) 04/30/18 - Bionic builds for stable are currently failing, see #5091 for updates. |
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 | 97 | Mark Clarkstone | | Bionic Beaver "bionic" (18.04) | - amd64 | *Doozer repository only* | |
50 | 1 | Adam Sutton | |
51 | *Where are the builds for my distro/arch?* |
||
52 | 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. |
||
53 | |||
54 | h3. Usage |
||
55 | |||
56 | 94 | Mark Clarkstone | h4. 1. First install GPG keys: |
57 | 1 | Adam Sutton | |
58 | 94 | Mark Clarkstone | +*Bintray*+ |
59 | 1 | Adam Sutton | <pre> |
60 | sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 |
||
61 | </pre> |
||
62 | |||
63 | 94 | Mark Clarkstone | +*Doozer (apt.tvheadend.org)*+ |
64 | <pre> |
||
65 | wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add - |
||
66 | </pre> |
||
67 | |||
68 | --- |
||
69 | |||
70 | If you see something like the following: |
||
71 | <pre>Executing: /tmp/apt-key-gpghome666/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 |
||
72 | 1 | Adam Sutton | gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory |
73 | gpg: connecting dirmngr at '/run/user/0/gnupg/d.1234/S.dirmngr' failed: No such file or directory |
||
74 | gpg: keyserver receive failed: No dirmngr |
||
75 | 83 | Mark Clarkstone | </pre> |
76 | |||
77 | 94 | Mark Clarkstone | You need to install dirmngr: |
78 | 83 | Mark Clarkstone | |
79 | 94 | Mark Clarkstone | <pre>sudo apt-get install dirmngr</pre> |
80 | |||
81 | Once installed add the key again, it should succeed this time. |
||
82 | |||
83 | 95 | Mark Clarkstone | h4. 2. Pick a build type, add the repository accordingly: |
84 | 94 | Mark Clarkstone | |
85 | +*Bintray*+ |
||
86 | 1 | Adam Sutton | <pre> |
87 | echo "deb https://dl.bintray.com/tvheadend/deb DISTRO REPO-COMPONENT" | sudo tee /etc/apt/sources.list.d/tvheadend.list |
||
88 | </pre> |
||
89 | |||
90 | > Example: |
||
91 | > <pre> |
||
92 | echo "deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee /etc/apt/sources.list.d/tvheadend.list |
||
93 | </pre> |
||
94 | |||
95 | 94 | Mark Clarkstone | +*Doozer*+ |
96 | <pre> |
||
97 | echo "deb http://apt.tvheadend.org/REPO-COMPONENT DISTRO main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list |
||
98 | </pre> |
||
99 | |||
100 | > Example: |
||
101 | > <pre> |
||
102 | echo "deb http://apt.tvheadend.org/unstable xenial main" | sudo tee -a /etc/apt/sources.list.d/tvheadend.list |
||
103 | </pre> |
||
104 | |||
105 | --- |
||
106 | |||
107 | * Replace DISTRO with the distribution's code name (as quoted in _Supported Distributions and Architectures_). Replace REPO-COMPONENT with the desired build type. |
||
108 | |||
109 | * *Watch out* for subtle differences though, be sure to check the repository has your desired build type and component. |
||
110 | |||
111 | * *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). |
||
112 | |||
113 | |||
114 | h4. 3. Refresh the available packages and install: |
||
115 | 21 | Mark Clarkstone | |
116 | <pre> |
||
117 | 28 | Adam Sutton | sudo apt-get update |
118 | 21 | Mark Clarkstone | sudo apt-get install tvheadend |
119 | </pre> |
||
120 | |||
121 | 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: |
122 | 50 | Jaroslav Kysela | |
123 | 28 | Adam Sutton | <pre> |
124 | unstable > stable-4.2 > stable |
||
125 | 54 | Mark Clarkstone | </pre> |
126 | 1 | Adam Sutton | |
127 | 72 | Mark Clarkstone | h3. Help |
128 | 1 | Adam Sutton | |
129 | 72 | Mark Clarkstone | Please open an issue or join the IRC channel to report problems with the official repository. |
130 | 50 | Jaroslav Kysela | |
131 | 72 | Mark Clarkstone | h2. Unofficial Repositories |
132 | 58 | Mark Clarkstone | |
133 | 72 | Mark Clarkstone | 3rd-party unofficial repositories. |
134 | 58 | Mark Clarkstone | |
135 | 72 | Mark Clarkstone | h3. Ubuntu PPA |
136 | 58 | Mark Clarkstone | |
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 | 72 | Mark Clarkstone | h4. Usage |
140 | 58 | Mark Clarkstone | |
141 | 72 | Mark Clarkstone | First, pick either the Stable or Unstable build: |
142 | |||
143 | For the Stable PPA containing daily builds from the latest stable branch: |
||
144 | 58 | Mark Clarkstone | <pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre> |
145 | 62 | Mark Clarkstone | |
146 | 72 | Mark Clarkstone | For the Unstable PPA containing daily builds from master: |
147 | 58 | Mark Clarkstone | <pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre> |
148 | |||
149 | 1 | Adam Sutton | Then, for both: |
150 | 58 | Mark Clarkstone | |
151 | 72 | Mark Clarkstone | Update your packages: |
152 | 62 | Mark Clarkstone | <pre>sudo apt update</pre> |
153 | 58 | Mark Clarkstone | |
154 | 72 | Mark Clarkstone | Install: |
155 | 50 | Jaroslav Kysela | <pre>sudo apt install tvheadend</pre> |
156 | 57 | Mark Clarkstone | |
157 | 72 | Mark Clarkstone | h4. Help |
158 | |||
159 | 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. |
160 | 1 | Adam Sutton | |
161 | h3. Raspberry Pi / Raspbian armhf |
||
162 | 78 | Mark Clarkstone | |
163 | 96 | Mark Clarkstone | Unofficial Raspbian packages are provided by mpmc for both Raspbian Jessie and Stretch. |
164 | 1 | Adam Sutton | |
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 | 72 | Mark Clarkstone | * 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 | 96 | Mark Clarkstone | |
170 | h4. Usage |
||
171 | |||
172 | 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. |
||
173 | 72 | Mark Clarkstone | |
174 | h4. Help |
||
175 | |||
176 | 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). |