Project

General

Profile

AptRepositories » History » Version 59

Mark Clarkstone, 2017-06-19 09:42

1 54 Mark Clarkstone
h1. Official APT Repository
2 1 Adam Sutton
3 54 Mark Clarkstone
The repository is provided by "Bintray":https://bintray.com/tvheadend containing packages built by "Doozer.io":https://doozer.io/tvheadend/tvheadend. 
4 50 Jaroslav Kysela
5 54 Mark Clarkstone
*Please note that with the changes to the build system, the list of supported distros has changed.* Please check the _Supported Distributions / Platforms_ list below, if your distribution isn't listed there may be an older version available, new build targets *will* be added as soon as possible.
6 50 Jaroslav Kysela
7 54 Mark Clarkstone
h2. 4.2
8 50 Jaroslav Kysela
9
This is the current-stable release.
10
11 54 Mark Clarkstone
h3. Supported Distributions / Platforms
12 50 Jaroslav Kysela
13 1 Adam Sutton
* Debian
14 50 Jaroslav Kysela
** Jessie "jessie" (8.x) - i386 / amd64
15 1 Adam Sutton
16
* Ubuntu
17 50 Jaroslav Kysela
** Xenial "xenial" (16.04.x) - i386 / amd64 / armhf / arm64.
18
** Trusty "trusty" (14.04.x) - i386 / amd64 - see note 1.
19 53 Mark Clarkstone
** Precise "precise" (12.04.x) - i386 / amd64 - see note 2.
20 1 Adam Sutton
21 58 Mark Clarkstone
If you're looking for Raspbian "raspbianjessie" packages, please see the Help! below.
22
23 50 Jaroslav Kysela
Notes:
24
# The armhf and arm64 builds do not have transcoding built in at the moment.
25 1 Adam Sutton
# The i386 builds for precise do not have transcoding built in, and seeing as this version of Ubuntu is now EOL it will eventually be removed.
26 53 Mark Clarkstone
27 1 Adam Sutton
h4. Build types
28
29 56 Mark Clarkstone
* release-4.2 - The latest version marked as release (like 4.2.2).
30 1 Adam Sutton
* stable-4.2 - The latest official / stable code including changes between releases (like 4.2.2-10~gHASH).
31 53 Mark Clarkstone
32 54 Mark Clarkstone
h2. 4.0
33 1 Adam Sutton
34 50 Jaroslav Kysela
This is the old-stable release. Please note, there will be no further updates to this version.
35 1 Adam Sutton
36 54 Mark Clarkstone
h3. Supported Distributions / Platforms
37 1 Adam Sutton
38 50 Jaroslav Kysela
* Debian
39
** Jessie "jessie" (8.x) - i386 / amd64
40 28 Adam Sutton
41 1 Adam Sutton
* Ubuntu
42 50 Jaroslav Kysela
** Xenial "xenial" (16.04.x) - i386 / amd64
43 1 Adam Sutton
** Wily Werewolf "wily" (15.10.x) - i386 / amd64
44 50 Jaroslav Kysela
** Trusty (14.04.x) "trusty" - i386 / amd64
45
46 1 Adam Sutton
h4. Build types
47 50 Jaroslav Kysela
48 1 Adam Sutton
There is currently only one build type for 4.0.
49 50 Jaroslav Kysela
50
* stable - An old-stable build from the 4.0 release branch.
51
52 54 Mark Clarkstone
h2. Development/Unstable
53 50 Jaroslav Kysela
54
This is the current development "bleeding-edge" release. It contains builds from the development (master) branch on "Github":https://github.com/tvheadend/tvheadend. *Only use this build if you want bleeding-edge & don't mind breakages!*
55
56 54 Mark Clarkstone
h3. Supported Distributions / Platforms
57 50 Jaroslav Kysela
58
* Debian
59
** Jessie "jessie" (8.x) - i386 / amd64
60
61
* Ubuntu
62
** Xenial "xenial" (16.04.x) - i386 / amd64 / armhf / arm64 - see note 1 + 2.
63
** Trusty "trusty" (14.04.x) - i386 / amd64 - see note 1.
64 1 Adam Sutton
65 50 Jaroslav Kysela
Notes:
66 21 Mark Clarkstone
# Due to issues with building x264, i386 builds have limited transcoding support.
67 50 Jaroslav Kysela
# armhf and arm64 builds do not have transcoding built in at the moment.
68 28 Adam Sutton
69 50 Jaroslav Kysela
h4. Build types
70 28 Adam Sutton
71 50 Jaroslav Kysela
There is currently only one build type for unstable.
72
73
* unstable - This will contain a nightly build from the development branch (master)
74
75 54 Mark Clarkstone
h2. Usage
76 50 Jaroslav Kysela
77 1 Adam Sutton
First install bintray's GPG key:
78
79
<pre>
80
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
81
</pre>
82
83
Select which build type you want and add the repository accordingly:
84
85 21 Mark Clarkstone
<pre>
86 28 Adam Sutton
echo "deb https://dl.bintray.com/tvheadend/deb DISTRO BUILDTYPE" | sudo tee -a /etc/apt/sources.list
87 21 Mark Clarkstone
</pre>
88
89 33 Mark Clarkstone
Replace DISTRO with the distribution's code name (as quoted in the _Supported Distro's / Platforms_ list). 
90 21 Mark Clarkstone
Replace BUILDTYPE with the desired build type.
91 1 Adam Sutton
 
92 35 Mark Clarkstone
> Example:
93 34 Mark Clarkstone
> <pre>
94 50 Jaroslav Kysela
echo "deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee -a /etc/apt/sources.list
95 21 Mark Clarkstone
</pre>
96
97
Refresh the available packages and install:
98 1 Adam Sutton
99 28 Adam Sutton
<pre>
100 21 Mark Clarkstone
sudo apt-get update
101
sudo apt-get install tvheadend
102 28 Adam Sutton
</pre>
103 21 Mark Clarkstone
104
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:
105
106 28 Adam Sutton
<pre>
107 50 Jaroslav Kysela
unstable > stable-4.2 > stable
108 28 Adam Sutton
</pre>
109
110 54 Mark Clarkstone
h2. Help!
111 1 Adam Sutton
112 50 Jaroslav Kysela
*Where are the builds for my distro/arch?*
113 1 Adam Sutton
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. If you're impatient you may build your own packages. 
114
115 50 Jaroslav Kysela
*What happened to nightly builds?*
116 53 Mark Clarkstone
They're no longer being provided, packages are now built on-the-fly once a commit to the branch has been pushed.
117 58 Mark Clarkstone
118
*Is there a stable 4.2 package for Raspbian?*
119
Yes! However it's not official, but pretty close. To use it, you simply follow the usage instructions above but change the apt source URL..
120
* From 
121
<pre>
122
deb https://dl.bintray.com/tvheadend/deb
123
</pre>
124
125
* To 
126
<pre>
127
deb https://dl.bintray.com/mpmc/deb
128
</pre>
129
> Example:
130
> <pre>echo "deb https://dl.bintray.com/mpmc/deb raspbianjessie stable-4.2" | sudo tee -a /etc/apt/sources.list</pre>
131
132 59 Mark Clarkstone
Please read the following:
133 58 Mark Clarkstone
* 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
* Only *stable-4.2* and *unstable* builds are available. *There is no release-4.2 build*.
135
* There is no transcoding support, mainly because the Pi isn't powerful enough to do software transcoding & 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" and not "jessie".
138
* If you experience an issue please contact me on "github":http://github.com/mpmc, or send me a message on IRC - I idle as mpmc in #hts on Freenode.
139 28 Adam Sutton
140 50 Jaroslav Kysela
*Is there an Ubuntu PPA?*
141 57 Mark Clarkstone
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 1 Adam Sutton
143 57 Mark Clarkstone
First, pick either the Stable or Unstable builds:
144 1 Adam Sutton
145 57 Mark Clarkstone
* For the Stable PPA containing daily builds from the latest stable branch:
146
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>
147
148
* For the Unstable PPA containing daily builds from master:
149 1 Adam Sutton
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>
150 50 Jaroslav Kysela
151 57 Mark Clarkstone
Then, for both:
152
153 50 Jaroslav Kysela
* Update your packages:
154 1 Adam Sutton
<pre>sudo apt update</pre>
155
156 52 Mark Clarkstone
* Install:
157 50 Jaroslav Kysela
<pre>sudo apt install tvheadend</pre>
158 1 Adam Sutton
159 57 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.