AptRepositories » History » Version 87
Mark Clarkstone, 2018-02-19 17:33
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 | 74 | Mark Clarkstone | The official deb packages are built using "Doozer":https://doozer.io and our repository is provided by "Bintray":https://bintray.com/tvheadend. |
8 | 1 | Adam Sutton | |
9 | 87 | Mark Clarkstone | h2. Repository Status |
10 | |||
11 | 19/02/18 16:32 - There is a problem with Doozer effecting new builds for Debian Stretch/Jessie. |
||
12 | *Please do not open an issue about this, it will be resolved ASAP.* |
||
13 | |||
14 | 72 | Mark Clarkstone | h3. Build Types and Versions |
15 | 1 | Adam Sutton | |
16 | 86 | Mark Clarkstone | |
17 | 72 | Mark Clarkstone | | *Build Type* | *Description* | *Version* | *Repo Component* | |
18 | 82 | Mark Clarkstone | | release | The latest version marked for release | 4.2.5 | release-4.2 | |
19 | | stable | The latest stable code with changes/fixes between releases | 4.2.5-x~githash | stable-4.2 | |
||
20 | 72 | Mark Clarkstone | | unstable | This is the current development "bleeding-edge" | 4.3.x | unstable | |
21 | 1 | Adam Sutton | |
22 | 72 | Mark Clarkstone | *It's advised that you use release or stable, only use unstable if you want bleeding-edge & don't mind breakages!* |
23 | 1 | Adam Sutton | |
24 | 72 | Mark Clarkstone | h3. Supported Distributions and Architectures |
25 | 1 | Adam Sutton | |
26 | 72 | Mark Clarkstone | The official repository supports the following distributions and architectures. |
27 | 54 | Mark Clarkstone | |
28 | 72 | Mark Clarkstone | | *Distribution* | *Architecture* | *Notes* | |
29 | | Debian Jessie "jessie" (8.x) | - i386 |
||
30 | - amd64 | | |
||
31 | | Debian Stretch "stretch" (9.x) | - i386 |
||
32 | - amd64 | | |
||
33 | | Ubuntu Xenial "xenial" (16.04) | - i386 |
||
34 | - amd64 |
||
35 | - armhf |
||
36 | - arm64 | armhf/arm64 do not have transcoding support (yet) | |
||
37 | | Trusty "trusty" (14.04) | - i386 |
||
38 | - amd64 | | |
||
39 | 1 | Adam Sutton | |
40 | 72 | Mark Clarkstone | *Where are the builds for my distro/arch?* |
41 | 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. |
||
42 | 1 | Adam Sutton | |
43 | 72 | Mark Clarkstone | h3. Usage |
44 | 1 | Adam Sutton | |
45 | First install bintray's GPG key: |
||
46 | |||
47 | <pre> |
||
48 | sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 |
||
49 | </pre> |
||
50 | |||
51 | 83 | Mark Clarkstone | > If you see something like the following: |
52 | > <pre>Executing: /tmp/apt-key-gpghome666/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 |
||
53 | gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory |
||
54 | gpg: connecting dirmngr at '/run/user/0/gnupg/d.1234/S.dirmngr' failed: No such file or directory |
||
55 | gpg: keyserver receive failed: No dirmngr |
||
56 | </pre> |
||
57 | > You need to install dirmngr |
||
58 | > <pre>sudo apt-get install dirmngr</pre> |
||
59 | > Once installed add the key again, it should succeed this time. |
||
60 | |||
61 | 1 | Adam Sutton | Select which build type you want and add the repository accordingly: |
62 | |||
63 | 50 | Jaroslav Kysela | <pre> |
64 | 72 | Mark Clarkstone | echo "deb https://dl.bintray.com/tvheadend/deb DISTRO REPO-COMPONENT" | sudo tee -a /etc/apt/sources.list |
65 | 1 | Adam Sutton | </pre> |
66 | |||
67 | 86 | Mark Clarkstone | Replace DISTRO with the distribution's code name (as quoted in _Supported Distributions and Architectures_). Replace REPO-COMPONENT with the desired build type. |
68 | |||
69 | *Make sure you, use the text in the +Repo Component+ column and not +Build Type+.* |
||
70 | 1 | Adam Sutton | |
71 | 35 | Mark Clarkstone | > Example: |
72 | 34 | Mark Clarkstone | > <pre> |
73 | 50 | Jaroslav Kysela | echo "deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee -a /etc/apt/sources.list |
74 | 21 | Mark Clarkstone | </pre> |
75 | |||
76 | 28 | Adam Sutton | Refresh the available packages and install: |
77 | 21 | Mark Clarkstone | |
78 | <pre> |
||
79 | 28 | Adam Sutton | sudo apt-get update |
80 | 21 | Mark Clarkstone | sudo apt-get install tvheadend |
81 | </pre> |
||
82 | |||
83 | 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: |
84 | 50 | Jaroslav Kysela | |
85 | 28 | Adam Sutton | <pre> |
86 | unstable > stable-4.2 > stable |
||
87 | 54 | Mark Clarkstone | </pre> |
88 | 1 | Adam Sutton | |
89 | 72 | Mark Clarkstone | h3. Help |
90 | 1 | Adam Sutton | |
91 | 72 | Mark Clarkstone | Please open an issue or join the IRC channel to report problems with the official repository. |
92 | 50 | Jaroslav Kysela | |
93 | 72 | Mark Clarkstone | h2. Unofficial Repositories |
94 | 58 | Mark Clarkstone | |
95 | 72 | Mark Clarkstone | 3rd-party unofficial repositories. |
96 | 58 | Mark Clarkstone | |
97 | 72 | Mark Clarkstone | h3. Ubuntu PPA |
98 | 58 | Mark Clarkstone | |
99 | 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. |
||
100 | |||
101 | 72 | Mark Clarkstone | h4. Usage |
102 | 58 | Mark Clarkstone | |
103 | 72 | Mark Clarkstone | First, pick either the Stable or Unstable build: |
104 | |||
105 | For the Stable PPA containing daily builds from the latest stable branch: |
||
106 | 58 | Mark Clarkstone | <pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre> |
107 | 62 | Mark Clarkstone | |
108 | 72 | Mark Clarkstone | For the Unstable PPA containing daily builds from master: |
109 | 58 | Mark Clarkstone | <pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre> |
110 | |||
111 | 1 | Adam Sutton | Then, for both: |
112 | 58 | Mark Clarkstone | |
113 | 72 | Mark Clarkstone | Update your packages: |
114 | 62 | Mark Clarkstone | <pre>sudo apt update</pre> |
115 | 58 | Mark Clarkstone | |
116 | 72 | Mark Clarkstone | Install: |
117 | 50 | Jaroslav Kysela | <pre>sudo apt install tvheadend</pre> |
118 | 57 | Mark Clarkstone | |
119 | 72 | Mark Clarkstone | h4. Help |
120 | |||
121 | 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. |
122 | 1 | Adam Sutton | |
123 | h3. Raspberry Pi / Raspbian armhf |
||
124 | 78 | Mark Clarkstone | |
125 | 72 | Mark Clarkstone | Unofficial Raspbian packages are provided by mpmc for both Raspbian Jessie and Stretch. *Before using this repo please read the notes.* |
126 | |||
127 | h4. Usage |
||
128 | |||
129 | 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. |
||
130 | 1 | Adam Sutton | |
131 | 72 | Mark Clarkstone | h4. Notes |
132 | |||
133 | * 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. |
||
134 | 76 | Mark Clarkstone | * -Only *stable-4.2* and *unstable* builds are available. *There is no release-4.2 build*.- There is now a release-4.2 starting with 4.2.4. |
135 | 72 | Mark Clarkstone | * There's no transcoding support, mainly because the Pi isn't powerful enough to do software transcoding and hardware transcoding is not yet available. |
136 | * There is no changes to the code whatsoever for these builds. |
||
137 | * Make sure to enter the distro as raspbianjessie/raspbianstretch and not jessie/stretch. |
||
138 | |||
139 | h4. Help |
||
140 | |||
141 | 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). |