Project

General

Profile

AptRepositories » History » Version 63

Mark Clarkstone, 2017-08-22 12:59

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