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