Project

General

Profile

AptRepositories » History » Version 89

Mark Clarkstone, 2018-02-22 17:35

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