Project

General

Profile

AptRepositories » History » Version 71

Mark Clarkstone, 2017-09-25 22:23

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 62 Mark Clarkstone
** Jessie "stretch" (9.x) - i386 / amd64
16 1 Adam Sutton
17 50 Jaroslav Kysela
* Ubuntu
18
** Xenial "xenial" (16.04.x) - i386 / amd64 / armhf / arm64.
19 53 Mark Clarkstone
** Trusty "trusty" (14.04.x) - i386 / amd64 - see note 1.
20 1 Adam Sutton
21 62 Mark Clarkstone
If you're looking for Raspbian "raspbianjessie/raspbianstretch" packages, please see the Help! below.
22 50 Jaroslav Kysela
23
Notes:
24 1 Adam Sutton
# The armhf and arm64 builds do not have transcoding built in at the moment.
25 53 Mark Clarkstone
26 1 Adam Sutton
h4. Build types
27
28 61 Mark Clarkstone
* release-4.2 - The latest version marked as release (like 4.2.2). This is currently 4.2.3.
29 1 Adam Sutton
* stable-4.2 - The latest official / stable code including changes between releases (like 4.2.2-10~gHASH).
30 53 Mark Clarkstone
31 54 Mark Clarkstone
h2. 4.0
32 1 Adam Sutton
33 50 Jaroslav Kysela
This is the old-stable release. Please note, there will be no further updates to this version.
34 1 Adam Sutton
35 54 Mark Clarkstone
h3. Supported Distributions / Platforms
36 1 Adam Sutton
37 50 Jaroslav Kysela
* Debian
38 1 Adam Sutton
** Jessie "jessie" (8.x) - i386 / amd64
39 28 Adam Sutton
40 1 Adam Sutton
* Ubuntu
41 50 Jaroslav Kysela
** Xenial "xenial" (16.04.x) - i386 / amd64
42 1 Adam Sutton
** Wily Werewolf "wily" (15.10.x) - i386 / amd64
43 50 Jaroslav Kysela
** Trusty (14.04.x) "trusty" - i386 / amd64
44
45 1 Adam Sutton
h4. Build types
46 50 Jaroslav Kysela
47 1 Adam Sutton
There is currently only one build type for 4.0.
48 50 Jaroslav Kysela
49
* stable - An old-stable build from the 4.0 release branch.
50
51 54 Mark Clarkstone
h2. Development/Unstable
52 50 Jaroslav Kysela
53
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!*
54
55 54 Mark Clarkstone
h3. Supported Distributions / Platforms
56 50 Jaroslav Kysela
57
* Debian
58 1 Adam Sutton
** Jessie "jessie" (8.x) - i386 / amd64
59 62 Mark Clarkstone
** Jessie "stretch" (9.x) - i386 / amd64
60 50 Jaroslav Kysela
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 63 Mark Clarkstone
*Are there packages for Raspbian?*
119 58 Mark Clarkstone
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 1 Adam Sutton
</pre>
129 58 Mark Clarkstone
> Example:
130 62 Mark Clarkstone
> <pre>echo "deb https://dl.bintray.com/mpmc/deb raspbianstretch stable-4.2" | sudo tee -a /etc/apt/sources.list</pre>
131 58 Mark Clarkstone
132
Please read the following:
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 1 Adam Sutton
* Only *stable-4.2* and *unstable* builds are available. *There is no release-4.2 build*.
135 58 Mark Clarkstone
* 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 62 Mark Clarkstone
* Make sure to enter the distro as "raspbianjessie"/"raspbianstretch" and not "jessie"/"stretch".
138 58 Mark Clarkstone
* 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.