Project

General

Profile

AptRepositories » History » Version 67

Mark Clarkstone, 2017-08-26 13:25

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
* Ubuntu
18 50 Jaroslav Kysela
** Xenial "xenial" (16.04.x) - i386 / amd64 / armhf / arm64.
19
** Trusty "trusty" (14.04.x) - i386 / amd64 - see note 1.
20 53 Mark Clarkstone
** Precise "precise" (12.04.x) - i386 / amd64 - see note 2.
21 1 Adam Sutton
22 62 Mark Clarkstone
If you're looking for Raspbian "raspbianjessie/raspbianstretch" packages, please see the Help! below.
23 58 Mark Clarkstone
24 50 Jaroslav Kysela
Notes:
25
# The armhf and arm64 builds do not have transcoding built in at the moment.
26 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.
27 53 Mark Clarkstone
28 1 Adam Sutton
h4. Build types
29
30 61 Mark Clarkstone
* release-4.2 - The latest version marked as release (like 4.2.2). This is currently 4.2.3.
31 1 Adam Sutton
* stable-4.2 - The latest official / stable code including changes between releases (like 4.2.2-10~gHASH).
32 53 Mark Clarkstone
33 54 Mark Clarkstone
h2. 4.0
34 1 Adam Sutton
35 50 Jaroslav Kysela
This is the old-stable release. Please note, there will be no further updates to this version.
36 1 Adam Sutton
37 54 Mark Clarkstone
h3. Supported Distributions / Platforms
38 1 Adam Sutton
39 50 Jaroslav Kysela
* Debian
40 1 Adam Sutton
** Jessie "jessie" (8.x) - i386 / amd64
41 28 Adam Sutton
42 1 Adam Sutton
* Ubuntu
43 50 Jaroslav Kysela
** Xenial "xenial" (16.04.x) - i386 / amd64
44 1 Adam Sutton
** Wily Werewolf "wily" (15.10.x) - i386 / amd64
45 50 Jaroslav Kysela
** Trusty (14.04.x) "trusty" - i386 / amd64
46
47 1 Adam Sutton
h4. Build types
48 50 Jaroslav Kysela
49 1 Adam Sutton
There is currently only one build type for 4.0.
50 50 Jaroslav Kysela
51
* stable - An old-stable build from the 4.0 release branch.
52
53 54 Mark Clarkstone
h2. Development/Unstable
54 50 Jaroslav Kysela
55
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!*
56
57 54 Mark Clarkstone
h3. Supported Distributions / Platforms
58 50 Jaroslav Kysela
59
* Debian
60 1 Adam Sutton
** Jessie "jessie" (8.x) - i386 / amd64
61 62 Mark Clarkstone
** Jessie "stretch" (9.x) - i386 / amd64
62 50 Jaroslav Kysela
63
* Ubuntu
64
** Xenial "xenial" (16.04.x) - i386 / amd64 / armhf / arm64 - see note 1 + 2.
65
** Trusty "trusty" (14.04.x) - i386 / amd64 - see note 1.
66 1 Adam Sutton
67 50 Jaroslav Kysela
Notes:
68 21 Mark Clarkstone
# Due to issues with building x264, i386 builds have limited transcoding support.
69 50 Jaroslav Kysela
# armhf and arm64 builds do not have transcoding built in at the moment.
70 28 Adam Sutton
71 50 Jaroslav Kysela
h4. Build types
72 28 Adam Sutton
73 50 Jaroslav Kysela
There is currently only one build type for unstable.
74
75
* unstable - This will contain a nightly build from the development branch (master)
76
77 54 Mark Clarkstone
h2. Usage
78 50 Jaroslav Kysela
79 1 Adam Sutton
First install bintray's GPG key:
80
81
<pre>
82
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 
83
</pre>
84
85
Select which build type you want and add the repository accordingly:
86
87 21 Mark Clarkstone
<pre>
88 28 Adam Sutton
echo "deb https://dl.bintray.com/tvheadend/deb DISTRO BUILDTYPE" | sudo tee -a /etc/apt/sources.list
89 21 Mark Clarkstone
</pre>
90
91 33 Mark Clarkstone
Replace DISTRO with the distribution's code name (as quoted in the _Supported Distro's / Platforms_ list). 
92 21 Mark Clarkstone
Replace BUILDTYPE with the desired build type.
93 1 Adam Sutton
 
94 35 Mark Clarkstone
> Example:
95 34 Mark Clarkstone
> <pre>
96 50 Jaroslav Kysela
echo "deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee -a /etc/apt/sources.list
97 21 Mark Clarkstone
</pre>
98
99
Refresh the available packages and install:
100 1 Adam Sutton
101 28 Adam Sutton
<pre>
102 21 Mark Clarkstone
sudo apt-get update
103
sudo apt-get install tvheadend
104 28 Adam Sutton
</pre>
105 21 Mark Clarkstone
106
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:
107
108 28 Adam Sutton
<pre>
109 50 Jaroslav Kysela
unstable > stable-4.2 > stable
110 28 Adam Sutton
</pre>
111
112 54 Mark Clarkstone
h2. Help!
113 1 Adam Sutton
114 50 Jaroslav Kysela
*Where are the builds for my distro/arch?*
115 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. 
116
117 50 Jaroslav Kysela
*What happened to nightly builds?*
118 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.
119 58 Mark Clarkstone
120 63 Mark Clarkstone
*Are there packages for Raspbian?*
121 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..
122
* From 
123
<pre>
124
deb https://dl.bintray.com/tvheadend/deb
125
</pre>
126
127
* To 
128
<pre>
129
deb https://dl.bintray.com/mpmc/deb
130 1 Adam Sutton
</pre>
131 58 Mark Clarkstone
> Example:
132 62 Mark Clarkstone
> <pre>echo "deb https://dl.bintray.com/mpmc/deb raspbianstretch stable-4.2" | sudo tee -a /etc/apt/sources.list</pre>
133 58 Mark Clarkstone
134
Please read the following:
135
* 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.
136 1 Adam Sutton
* Only *stable-4.2* and *unstable* builds are available. *There is no release-4.2 build*.
137 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. 
138
* There is no changes to the code whatsoever for these builds.
139 62 Mark Clarkstone
* Make sure to enter the distro as "raspbianjessie"/"raspbianstretch" and not "jessie"/"stretch".
140 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.
141 28 Adam Sutton
142 50 Jaroslav Kysela
*Is there an Ubuntu PPA?*
143 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.
144 1 Adam Sutton
145 57 Mark Clarkstone
First, pick either the Stable or Unstable builds:
146 1 Adam Sutton
147 57 Mark Clarkstone
* For the Stable PPA containing daily builds from the latest stable branch:
148
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git-stable</pre>
149
150
* For the Unstable PPA containing daily builds from master:
151 1 Adam Sutton
<pre>sudo apt-add-repository ppa:mamarley/tvheadend-git</pre>
152 50 Jaroslav Kysela
153 57 Mark Clarkstone
Then, for both:
154
155 50 Jaroslav Kysela
* Update your packages:
156 1 Adam Sutton
<pre>sudo apt update</pre>
157
158 52 Mark Clarkstone
* Install:
159 50 Jaroslav Kysela
<pre>sudo apt install tvheadend</pre>
160 1 Adam Sutton
161 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.