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