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